summaryrefslogtreecommitdiffstats
path: root/package/dsniff/patches/pcap-header.patch
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-11 11:40:04 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-11 11:40:04 +0000
commit437d3489a8df7eae517289a221173459eb2d7be2 (patch)
tree31d4d4c009378adc57f037edfcfe9033bcd50bc4 /package/dsniff/patches/pcap-header.patch
parente3b7b2e97ba5ee1aa354240746700b53faf1f60a (diff)
dsniff, still segfaults, but some tools work fine urlsnarf,..
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dsniff/patches/pcap-header.patch')
-rw-r--r--package/dsniff/patches/pcap-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/dsniff/patches/pcap-header.patch b/package/dsniff/patches/pcap-header.patch
new file mode 100644
index 000000000..6be3bf2d6
--- /dev/null
+++ b/package/dsniff/patches/pcap-header.patch
@@ -0,0 +1,12 @@
+diff -Nur dsniff-2.3/configure dsniff-2.3.patched/configure
+--- dsniff-2.3/configure 2000-12-03 05:35:46.000000000 +0100
++++ dsniff-2.3.patched/configure 2005-06-09 11:44:33.000000000 +0200
+@@ -3023,7 +3023,7 @@
+ PCAPINC="-I$withval -I$withval/bpf"
+ PCAPLIB="-L$withval -lpcap"
+ elif test -f $withval/include/pcap.h -a \
+- -f $withval/include/net/bpf.h -a \
++ -f $withval/include/pcap-bpf.h -a \
+ -f $withval/lib/libpcap.a; then
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi