summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 20:58:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 20:58:34 +0000
commit533e6800f397e4bcd2860b47b74836008a2d5d6a (patch)
treef662f228f33d5408d5d7d5f8ac3f120e0a8f33e0 /usr
parent87294f24e42e5e173eef3ff31e2b989f28a89b90 (diff)
downloadpfsense-533e6800f397e4bcd2860b47b74836008a2d5d6a.zip
pfsense-533e6800f397e4bcd2860b47b74836008a2d5d6a.tar.gz
Do not automatically create a record for WAN.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/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 7067a2d..ca1c483 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -93,6 +93,8 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
foreach($ifdescrs as $if => $ifdesc) {
if (interface_has_gateway())
continue;
+ if($ifdesc == "WAN")
+ continue;
$natent = array();
$osn = gen_subnet($config['interfaces'][$if]['ipaddr'],
$config['interfaces'][$if]['subnet']);
OpenPOWER on IntegriCloud