summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-04-11 18:25:37 +0200
committerJo-Philipp Wich <jow@openwrt.org>2014-04-11 18:25:49 +0200
commitd1a450f7f29b68c314b92cde4f8cd34d4766302b (patch)
tree4bd0a1373cbe19b2184d0d6272786c50bd2cfb11
parent31456301f514e3e04f61930bb00f6b2d99b4d067 (diff)
downloadfirewall3-d1a450f7f29b68c314b92cde4f8cd34d4766302b.tar.gz
Reapply SNAT/MASQUERADE rules on firewall reloads
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index c0180b2..bf0830b 100644
--- a/main.c
+++ b/main.c
@@ -374,6 +374,7 @@ start:
fw3_print_default_head_rules(handle, cfg_state, true);
fw3_print_rules(handle, cfg_state);
fw3_print_redirects(handle, cfg_state);
+ fw3_print_snats(handle, cfg_state);
fw3_print_forwards(handle, cfg_state);
fw3_print_zone_rules(handle, cfg_state, true);
fw3_print_default_tail_rules(handle, cfg_state, true);