[server] skip firewall rules check in --test mode

This commit is contained in:
Michael Rash 2014-06-12 00:01:12 -04:00
parent 410624a858
commit e02750e666

View File

@ -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