diff options
author | Ken Xu <windedge99@gmail.com> | 2019-07-27 17:22:24 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2019-07-27 21:23:37 +0800 |
commit | 2e3a8c10abc1457fea3b3e4eea6bfac607bf64ac (patch) | |
tree | f5bc96d17018354b0c7df591551d631f0900201b /net/dnstop/patches | |
parent | 035dfd530c5237d5a9e28c6a04dde45c11033c01 (diff) |
dnstop: add new package
Signed-off-by: Ken Xu <windedge99@gmail.com>
Diffstat (limited to 'net/dnstop/patches')
-rw-r--r-- | net/dnstop/patches/100-fix_udphdr_error.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/dnstop/patches/100-fix_udphdr_error.patch b/net/dnstop/patches/100-fix_udphdr_error.patch new file mode 100644 index 000000000..2b729ea60 --- /dev/null +++ b/net/dnstop/patches/100-fix_udphdr_error.patch @@ -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; |