[server] skip firewall rules check in --test mode
This commit is contained in:
parent
410624a858
commit
e02750e666
@ -321,7 +321,8 @@ pcap_capture(fko_srv_options_t *opts)
|
||||
|
||||
/* Check for any expired firewall rules and deal with them.
|
||||
*/
|
||||
check_firewall_rules(opts);
|
||||
if(!opts->test)
|
||||
check_firewall_rules(opts);
|
||||
|
||||
#if FIREWALL_IPFW
|
||||
/* Purge expired rules that no longer have any corresponding
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user