Fix build with NFQ enabled

This commit is contained in:
2018-08-20 11:02:16 +02:00
parent e3aeb468b6
commit e29d62ef10
+1 -1
View File
@@ -195,7 +195,7 @@ nfq_capture(fko_srv_options_t *opts)
/* Attempt to restart tcp server ? */
usleep(1000000);
run_tcp_server(opts);
run_tcp_server(opts, (opts->family != AF_UNSPEC) ? opts->family : AF_INET);
}
}