dnstop: add new package

Signed-off-by: Ken Xu <windedge99@gmail.com>
This commit is contained in:
Ken Xu
2019-07-27 17:22:24 +08:00
committed by Yousong Zhou
parent 035dfd530c
commit 2e3a8c10ab
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,14 @@
--- a/dnstop.c
+++ b/dnstop.c
@@ -71,11 +71,6 @@ static const char *Version = "@VERSION@"
#define ETHERTYPE_IPV6 0x86DD
#endif
-#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
-#define uh_dport dest
-#define uh_sport source
-#endif
-
typedef struct {
inX_addr src;
int count;