diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2002-03-26 12:04:44 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2002-03-26 12:04:44 +0000 |
commit | e680cdc4a599b032f483daea2e8e7f65d205011d (patch) | |
tree | 6a55f184cb1a54c20e82192966a54d5cb2cfb770 /net/libnids/files/patch-src::libnids.c | |
parent | Unbreak build. (diff) |
Add a patch allowing libnids to correctly capture packets on
the loopback interface.
Submitted by: nectar
Ignored by: roam (myself) for over 6 months
Notes
Notes:
svn path=/head/; revision=56693
Diffstat (limited to '')
-rw-r--r-- | net/libnids/files/patch-src::libnids.c | 12 |
1 files changed, 12 insertions, 0 deletions
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; |