freebsd-ports/security/dsniff/files/patch-tcp_raw.h
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

11 lines
430 B
C

--- ./tcp_raw.h.orig 2001-03-15 09:33:06.000000000 +0100
+++ ./tcp_raw.h 2014-07-22 13:20:14.000000000 +0200
@@ -15,7 +15,7 @@
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);