summaryrefslogtreecommitdiff
path: root/openwrt/package/dsniff/patches/pcap-header.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-06-11 11:40:04 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-06-11 11:40:04 +0000
commitd7f57c6c609c902d85b6254a9bbe8299e1ba1903 (patch)
treebb1e55c44a47730e661efc5ed398ece80beddbb3 /openwrt/package/dsniff/patches/pcap-header.patch
parent222426e6798adc2fa21b3a922eb96991f1f462e9 (diff)
downloadmtk-20170518-d7f57c6c609c902d85b6254a9bbe8299e1ba1903.zip
mtk-20170518-d7f57c6c609c902d85b6254a9bbe8299e1ba1903.tar.gz
mtk-20170518-d7f57c6c609c902d85b6254a9bbe8299e1ba1903.tar.bz2
dsniff, still segfaults, but some tools work fine urlsnarf,..
SVN-Revision: 1199
Diffstat (limited to 'openwrt/package/dsniff/patches/pcap-header.patch')
-rw-r--r--openwrt/package/dsniff/patches/pcap-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/dsniff/patches/pcap-header.patch b/openwrt/package/dsniff/patches/pcap-header.patch
new file mode 100644
index 0000000..6be3bf2
--- /dev/null
+++ b/openwrt/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