packages/net/dnstop/patches/100-fix_udphdr_error.patch

15 lines
308 B
Diff
Raw Normal View History

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