aboutsummaryrefslogtreecommitdiff
path: root/net/dnstop/patches
diff options
context:
space:
mode:
authorKen Xu <windedge99@gmail.com>2019-07-27 17:22:24 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2019-07-27 21:23:37 +0800
commit2e3a8c10abc1457fea3b3e4eea6bfac607bf64ac (patch)
treef5bc96d17018354b0c7df591551d631f0900201b /net/dnstop/patches
parent035dfd530c5237d5a9e28c6a04dde45c11033c01 (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.patch14
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;