Fix build with NFQ enabled

This commit is contained in:
Pierre Pronchery 2018-08-07 08:21:37 +02:00
parent e3aeb468b6
commit e29d62ef10

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);
}
}