summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-tcp_raw_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/patches/patch-tcp_raw_h')
-rw-r--r--package/dsniff/patches/patch-tcp_raw_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/dsniff/patches/patch-tcp_raw_h b/package/dsniff/patches/patch-tcp_raw_h
new file mode 100644
index 000000000..ece3acd19
--- /dev/null
+++ b/package/dsniff/patches/patch-tcp_raw_h
@@ -0,0 +1,11 @@
+--- dsniff-2.4.orig/tcp_raw.h 2001-03-15 09:33:06.000000000 +0100
++++ dsniff-2.4/tcp_raw.h 2009-12-11 12:44:28.000000000 +0100
+@@ -15,7 +15,7 @@ typedef void (*tcp_raw_callback_t)(in_ad
+ u_short sport, u_short dport,
+ u_char *buf, int len);
+
+-struct iovec *tcp_raw_input(struct libnet_ip_hdr *ip,
++struct iovec *tcp_raw_input(struct libnet_ipv4_hdr *ip,
+ struct libnet_tcp_hdr *tcp, int len);
+
+ void tcp_raw_timeout(int timeout, tcp_raw_callback_t callback);