summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-tcp_raw_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/patches/patch-tcp_raw_c')
-rw-r--r--package/dsniff/patches/patch-tcp_raw_c20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/dsniff/patches/patch-tcp_raw_c b/package/dsniff/patches/patch-tcp_raw_c
deleted file mode 100644
index c28a08bf6..000000000
--- a/package/dsniff/patches/patch-tcp_raw_c
+++ /dev/null
@@ -1,20 +0,0 @@
---- dsniff-2.4.orig/tcp_raw.c 2001-03-15 09:33:04.000000000 +0100
-+++ dsniff-2.4/tcp_raw.c 2009-12-11 12:43:35.000000000 +0100
-@@ -119,7 +119,7 @@ tcp_raw_reassemble(struct tcp_conn *conn
- }
-
- struct iovec *
--tcp_raw_input(struct libnet_ip_hdr *ip, struct libnet_tcp_hdr *tcp, int len)
-+tcp_raw_input(struct libnet_ipv4_hdr *ip, struct libnet_tcp_hdr *tcp, int len)
- {
- struct tha tha;
- struct tcp_conn *conn;
-@@ -131,7 +131,7 @@ tcp_raw_input(struct libnet_ip_hdr *ip,
-
- /* Verify TCP checksum. */
- cksum = tcp->th_sum;
-- libnet_do_checksum((u_char *) ip, IPPROTO_TCP, len);
-+ libnet_do_checksum(NULL, (u_char *) ip, IPPROTO_TCP, len);
-
- if (cksum != tcp->th_sum)
- return (NULL);