diff options
-rw-r--r-- | flowtop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1134,8 +1134,6 @@ static void *collector(void *null __maybe_unused) struct pollfd poll_fd[1]; int ret; - collector_flush(); - ct_event = nfct_open(CONNTRACK, NF_NETLINK_CONNTRACK_NEW | NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY); @@ -1199,6 +1197,8 @@ static void *collector(void *null __maybe_unused) panic("Cannot set non-blocking socket: fcntl(): %s\n", strerror(errno)); + collector_flush(); + rcu_register_thread(); while (!sigint && ret >= 0) { |