From beb120011f87a180c131cd79a1e80986d1da881d Mon Sep 17 00:00:00 2001 From: Laurent Ghigonis Date: Mon, 10 Dec 2012 00:04:28 +0100 Subject: follow libgget API breakage --- gg_sniff/pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gg_sniff/pcap.c') diff --git a/gg_sniff/pcap.c b/gg_sniff/pcap.c index 52416e5..27a411a 100644 --- a/gg_sniff/pcap.c +++ b/gg_sniff/pcap.c @@ -474,7 +474,7 @@ ip_handle(struct ip *ip, const u_char *pend, u_int wirelen) } } else { if (!close) { - conn = ggnet_conn_add(_cap.net, &src, src_port, &dst, dst_port, proto, size); + conn = ggnet_conn_add(_cap.net, &src, src_port, &dst, dst_port, proto, size, -1); pkt.type = PACKET_NEWCONN; pkt.newconn_id = conn->id; pkt.newconn_src = src.s_addr; -- cgit v1.2.3-59-g8ed1b