summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-04-14 12:25:03 +0000
committerErmal <eri@pfsense.org>2014-04-14 12:25:03 +0000
commitb0de43998313096f43aa668400a250371289d9f2 (patch)
tree2b30fa00e7df846e8a20b99820933cd562a20619 /usr/local/www
parent82f273e105e8bfa7ae91440a5cec60eb397011de (diff)
parent32751b9f1af9f980f7a34e3fe95b083e9c6d07f3 (diff)
downloadpfsense-b0de43998313096f43aa668400a250371289d9f2.zip
pfsense-b0de43998313096f43aa668400a250371289d9f2.tar.gz
Merge pull request #1087 from phil-davis/patch-10
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/firewall_nat_out.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 2335cff..322a289 100644
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -523,6 +523,8 @@ if (is_subsystem_dirty('natconf'))
if ($mode == "automatic" || $mode == "hybrid"):
if(empty($FilterIflist))
filter_generate_optcfg_array();
+ if(empty($GatewaysList))
+ filter_generate_gateways();
$automatic_rules = filter_nat_rules_outbound_automatic(implode(" ", filter_nat_rules_automatic_tonathosts()));
?>
<tr><td colspan="5"><b>&nbsp;<?=gettext("Automatic rules:"); ?></b></td></tr>
OpenPOWER on IntegriCloud