diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 20:58:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 20:58:34 +0000 |
commit | 533e6800f397e4bcd2860b47b74836008a2d5d6a (patch) | |
tree | f662f228f33d5408d5d7d5f8ac3f120e0a8f33e0 /usr | |
parent | 87294f24e42e5e173eef3ff31e2b989f28a89b90 (diff) | |
download | pfsense-533e6800f397e4bcd2860b47b74836008a2d5d6a.zip pfsense-533e6800f397e4bcd2860b47b74836008a2d5d6a.tar.gz |
Do not automatically create a record for WAN.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 2 |
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']); |