X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=main.c;h=cd821fcd8dadb3d2be9e7f8211e75de4ec243d16;hb=b2b2e69b19a20a46f3db6d717a899248fa24628c;hp=79d3b0b37acc7b2b33e4ff4ecf1373e5d9807a21;hpb=865ddfd7df6a49f9346207cc105fc4f57da529c7;p=project%2Ffirewall3.git diff --git a/main.c b/main.c index 79d3b0b..cd821fc 100644 --- a/main.c +++ b/main.c @@ -206,11 +206,11 @@ stop(struct fw3_state *state, bool complete, bool reload) { /* pass 1 */ fw3_flush_rules(table, family, false, state, policy); - fw3_flush_zones(table, family, false, state); + fw3_flush_zones(table, family, false, reload, state); /* pass 2 */ fw3_flush_rules(table, family, true, state, policy); - fw3_flush_zones(table, family, true, state); + fw3_flush_zones(table, family, true, reload, state); } fw3_pr("COMMIT\n");