--- 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); elect name='h' onchange='this.form.submit();'> Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/include/sys/timeb.h
diff options
context:
space:
mode:
authorFilippo Arcidiacono <filippo.arcidiacono@st.com>2009-12-09 16:24:46 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-09 16:31:36 +0100
commitd67f6eb3ff53bdced973fa4e8386edf092fec2e1 (patch)
tree4df07ff9733caa6358d3116b7e88caf46759193e /include/sys/timeb.h
parentc5c2cf0da5644c96a2ae3db315f51bf91f15723d (diff)
test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}
dltest and dltest2 do not refer any symbols implemented in pthread library, so do not explicitly link them with pthread. It is required only for the shared objects that are loaded via dlopen by those tests. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'include/sys/timeb.h')
0 files changed, 0 insertions, 0 deletions