aboutsummaryrefslogtreecommitdiffstats
path: root/gg_sniff/pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gg_sniff/pcap.c')
-rw-r--r--gg_sniff/pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gg_sniff/pcap.c b/gg_sniff/pcap.c
index e66a6d5..4d62791 100644
--- a/gg_sniff/pcap.c
+++ b/gg_sniff/pcap.c
@@ -303,7 +303,7 @@ cb_conntimer(int fd, short why, void *data)
}
gg_log_debug("user: ev_timer leaving with %d active connections and %d active nodes", i, _cap.net->node_count);
- if (event_add(_cap.conntimer_ev, &_cap.conntimer_tv) == -1)
+ if (evtimer_add(_cap.conntimer_ev, &_cap.conntimer_tv) == -1)
gg_log_fatal("user: event_add conntimer failed : %s", strerror(errno));
}