summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-trigger_c
blob: 38a9869e8e70cbd52e5e218fa3000e6c50d55711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- dsniff-2.4.orig/trigger.c	2001-03-15 09:33:05.000000000 +0100
+++ dsniff-2.4/trigger.c	2009-12-11 12:48:14.000000000 +0100
@@ -276,7 +276,7 @@ trigger_dump(void)
 }
 	
 void
-trigger_ip(struct libnet_ip_hdr *ip)
+trigger_ip(struct libnet_ipv4_hdr *ip)
 {
 	struct trigger *t, tr;
 	u_char *buf;
@@ -305,7 +305,7 @@ trigger_ip(struct libnet_ip_hdr *ip)
 
 /* libnids needs a nids_register_udp()... */
 void
-trigger_udp(struct libnet_ip_hdr *ip)
+trigger_udp(struct libnet_ipv4_hdr *ip)
 {
 	struct trigger *t, tr;
 	struct libnet_udp_hdr *udp;
@@ -437,7 +437,7 @@ trigger_tcp(struct tcp_stream *ts, void 
 }
 
 void
-trigger_tcp_raw(struct libnet_ip_hdr *ip)
+trigger_tcp_raw(struct libnet_ipv4_hdr *ip)
 {
 	struct trigger *t, tr;
 	struct libnet_tcp_hdr *tcp;