From 2e3a8c10abc1457fea3b3e4eea6bfac607bf64ac Mon Sep 17 00:00:00 2001 From: Ken Xu Date: Sat, 27 Jul 2019 17:22:24 +0800 Subject: dnstop: add new package Signed-off-by: Ken Xu --- net/dnstop/patches/100-fix_udphdr_error.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net/dnstop/patches/100-fix_udphdr_error.patch (limited to 'net/dnstop/patches') 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; -- cgit v1.2.3