ports/security/dsniff/files/patch-trigger.c
Sofian Brabez 2e87510532 - Update to 2.4b1
- Fix build with libnet11 and libnids (introduced by r361784)

Reported by:	pkg-fallout
2014-07-22 12:33:36 +00:00

29 lines
651 B
C

--- ./trigger.c.orig 2001-03-15 09:33:05.000000000 +0100
+++ ./trigger.c 2014-07-22 13:20:14.000000000 +0200
@@ -276,7 +276,7 @@
}
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 @@
/* 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 @@
}
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;