summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ad
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-10-08 15:06:08 +0000
committerhubertf <hubertf>2000-10-08 15:06:08 +0000
commitbdc8fc7b97a4d9ee6fbefc8113b849887d4188a4 (patch)
tree1529620158b9cbb701443339ac8b7dae3f9e7dd1 /net/nmap/patches/patch-ad
parent20e8e8e21a22caea87d7b003fd6817e268788dba (diff)
downloadpkgsrc-bdc8fc7b97a4d9ee6fbefc8113b849887d4188a4.tar.gz
Fix nmap to work with our non-standard DLT_PPP_* values.
Patches mostly by Itojun.
Diffstat (limited to 'net/nmap/patches/patch-ad')
-rw-r--r--net/nmap/patches/patch-ad17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/nmap/patches/patch-ad b/net/nmap/patches/patch-ad
new file mode 100644
index 00000000000..3c293620cca
--- /dev/null
+++ b/net/nmap/patches/patch-ad
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1 2000/10/08 15:06:09 hubertf Exp $
+
+--- tcpip.c.orig Sun Apr 30 02:12:24 2000
++++ tcpip.c
+@@ -995,6 +995,12 @@
+ #ifdef DLT_PPP_BSDOS
+ case DLT_PPP_BSDOS:
+ #endif
++#ifdef DLT_PPP_SERIAL
++ case DLT_PPP_SERIAL:
++#endif
++#ifdef DLT_PPP_ETHER
++ case DLT_PPP_ETHER:
++#endif
+ #if (FREEBSD || OPENBSD || NETBSD || BSDI)
+ offset = 4;
+ #else