diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:21:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:21:12 +0000 |
commit | 5bf11e3605670af5400c697d7de46b6045de22f1 (patch) | |
tree | 8cc4427e7e90a40ed3f8292ce15d394b404c940d /usr/local/www/interfaces_assign.php | |
parent | 79f376201b12e566a2b9004d794a886726878868 (diff) | |
download | pfsense-5bf11e3605670af5400c697d7de46b6045de22f1.zip pfsense-5bf11e3605670af5400c697d7de46b6045de22f1.tar.gz |
When deleting the LAN interface, automatically unset the following
configuration areas:
* Interfaces -> LAN
* DHCPD -> LAN
* Traffic Shaper
* EZ Shaper settings
* Firewall -> NAT
NOTE: when adding back an interface if LAN does not exist, it is added
back before OPTX so that these constaints can be upheld.
Diffstat (limited to 'usr/local/www/interfaces_assign.php')
-rwxr-xr-x | usr/local/www/interfaces_assign.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php index 7f988d5..678248c 100755 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -146,7 +146,7 @@ if ($_GET['act'] == "del") { unset($config['dhcpd']['lan']); unset($config['shaper']); unset($config['ezshaper']); - unset($config['filter']['nat']); + unset($config['nat']); } write_config(); |