pkgsrc/net/sniffit/patches/patch-aj
wiz d3c351cc90 This package contains a hardwired list of device driver names(ewww).
Assume that x86_64 has the same drivers as i386, addresses PR 32332.
No PKGREVISION bump since it didn't compile on amd64 before.

While here:
remove superfluous patches patch-af, patch-ag to config.sub files
(get replaced by CONFIG_SUB_OVERRIDE anyway)
split up multi-patch patch-aa into four patches patch-a[hijk]
2006-01-08 11:02:10 +00:00

22 lines
645 B
Text

$NetBSD: patch-aj,v 1.1 2006/01/08 11:02:10 wiz Exp $
--- sn_defines.h.orig 1997-04-18 11:33:58.000000000 +0200
+++ sn_defines.h
@@ -80,11 +80,12 @@
#define SYN 2
#define FIN 1
-#define NO_IP 0
-#define NO_IP_4 1000
-#define ICMP 1 /* Protocol Numbers */
-#define TCP 6
-#define UDP 17
+#define NO_IP 0
+#define NO_IP_4 1000
+#define CORRUPT_IP 1001
+#define ICMP 1 /* Protocol Numbers */
+#define TCP 6
+#define UDP 17
#define ICMP_HEADLENGTH 4 /* fixed ICMP header length */
#define UDP_HEADLENGTH 8 /* fixed UDP header length */