aboutsummaryrefslogtreecommitdiff
path: root/net/libnids
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-03-26 12:04:44 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-03-26 12:04:44 +0000
commite680cdc4a599b032f483daea2e8e7f65d205011d (patch)
tree6a55f184cb1a54c20e82192966a54d5cb2cfb770 /net/libnids
parent3955ff88add72a5b6478517cfe3b5526205f5c99 (diff)
downloadports-e680cdc4a599b032f483daea2e8e7f65d205011d.tar.gz
ports-e680cdc4a599b032f483daea2e8e7f65d205011d.zip
Notes
Diffstat (limited to 'net/libnids')
-rw-r--r--net/libnids/Makefile1
-rw-r--r--net/libnids/files/patch-src::libnids.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/net/libnids/Makefile b/net/libnids/Makefile
index 37492feb06cd..681484894efb 100644
--- a/net/libnids/Makefile
+++ b/net/libnids/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libnids
PORTVERSION= 1.16
+PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://www.packetfactory.net/projects/libnids/dist/
diff --git a/net/libnids/files/patch-src::libnids.c b/net/libnids/files/patch-src::libnids.c
new file mode 100644
index 000000000000..780e77d973c0
--- /dev/null
+++ b/net/libnids/files/patch-src::libnids.c
@@ -0,0 +1,12 @@
+--- src/libnids.c.orig Tue Oct 9 21:13:12 2001
++++ src/libnids.c Tue Oct 9 21:13:38 2001
+@@ -369,6 +369,9 @@
+ return 0;
+ }
+ switch ((linktype = pcap_datalink(desc))) {
++ case DLT_NULL:
++ linkoffset = 4;
++ break;
+ case DLT_EN10MB:
+ linkoffset = 14;
+ break;