When --fw-flush is specified, set enable_fw to true

This commit is contained in:
Jonathan Bennett 2016-04-24 00:10:35 -05:00
parent 4374948ca6
commit c5043e0a3e

View File

@ -147,6 +147,7 @@ main(int argc, char **argv)
if(opts.fw_flush == 1)
{
fprintf(stdout, "Deleting any existing firewall rules...\n");
opts.enable_fw = 1;
clean_exit(&opts, FW_CLEANUP, EXIT_SUCCESS);
}