summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-trigger_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/patches/patch-trigger_h')
-rw-r--r--package/dsniff/patches/patch-trigger_h16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/dsniff/patches/patch-trigger_h b/package/dsniff/patches/patch-trigger_h
new file mode 100644
index 000000000..582a8c20c
--- /dev/null
+++ b/package/dsniff/patches/patch-trigger_h
@@ -0,0 +1,16 @@
+--- dsniff-2.4.orig/trigger.h 2001-03-15 09:33:06.000000000 +0100
++++ dsniff-2.4/trigger.h 2009-12-11 12:47:55.000000000 +0100
+@@ -24,10 +24,10 @@ int trigger_set_udp(int port, char *name
+ int trigger_set_tcp(int port, char *name);
+ int trigger_set_rpc(int program, char *name);
+
+-void trigger_ip(struct libnet_ip_hdr *ip);
+-void trigger_udp(struct libnet_ip_hdr *ip);
++void trigger_ip(struct libnet_ipv4_hdr *ip);
++void trigger_udp(struct libnet_ipv4_hdr *ip);
+ void trigger_tcp(struct tcp_stream *ts, void **conn_save);
+-void trigger_tcp_raw(struct libnet_ip_hdr *ip);
++void trigger_tcp_raw(struct libnet_ipv4_hdr *ip);
+ void trigger_tcp_raw_timeout(int signal);
+ void trigger_rpc(int program, int proto, int port);
+