1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-29 12:24:17 +02:00
openwrt-packages/net/dnstop/patches/100-fix_udphdr_error.patch
Ken Xu 2e3a8c10ab dnstop: add new package
Signed-off-by: Ken Xu <windedge99@gmail.com>
2019-07-27 21:23:37 +08:00

15 lines
308 B
Diff

--- 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;