aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-04-02 14:30:54 +0800
committerpav <pav@FreeBSD.org>2004-04-02 14:30:54 +0800
commit91ce6fd5018d9bcc891273e14751d89b55d95da7 (patch)
treeb9da1dd9edc3bd7c2359ce7e47adff38e832d429 /net
parent60ac23af110920816105d1524d0fc3df2ce76665 (diff)
downloadfreebsd-ports-gnome-91ce6fd5018d9bcc891273e14751d89b55d95da7.tar.gz
freebsd-ports-gnome-91ce6fd5018d9bcc891273e14751d89b55d95da7.tar.zst
freebsd-ports-gnome-91ce6fd5018d9bcc891273e14751d89b55d95da7.zip
- Add patch to make this work on loopback
PR: ports/64580 Submitted by: Radim Kolar <hsn@netmag.cz>
Diffstat (limited to 'net')
-rw-r--r--net/xprobe/files/patch-USI++:src:datalink.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/xprobe/files/patch-USI++:src:datalink.cc b/net/xprobe/files/patch-USI++:src:datalink.cc
new file mode 100644
index 000000000000..f171430ed9b9
--- /dev/null
+++ b/net/xprobe/files/patch-USI++:src:datalink.cc
@@ -0,0 +1,20 @@
+--- libs-external/USI++/src/datalink.cc.orig Fri Sep 26 13:40:23 2003
++++ libs-external/USI++/src/datalink.cc Mon Mar 22 17:26:18 2004
+@@ -249,7 +249,7 @@
+
+ // loopback
+ case DLT_NULL:
+- d_framelen = 0;
++ d_framelen = 4;
+ break;
+ #ifdef DLT_LINUX_SLL
+ case DLT_LINUX_SLL:
+@@ -349,6 +349,8 @@
+ break;
+ case DLT_RAW:
+ break;
++ case DLT_NULL:
++ break;
+ #ifdef DLT_LINUX_SLL
+ case DLT_LINUX_SLL:
+ break;