summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_assign.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-09 04:17:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-09 04:17:08 +0000
commit7385b5112a65561e09b90597c569abb6b3663ff8 (patch)
treef420a2a21fa9c6292d34022012cdb1176a0b8d4a /usr/local/www/interfaces_assign.php
parent74e44a2e2f7d98c535dd995635925c41e28ad677 (diff)
downloadpfsense-7385b5112a65561e09b90597c569abb6b3663ff8.zip
pfsense-7385b5112a65561e09b90597c569abb6b3663ff8.tar.gz
When deleting the LAN interface automatically unset:
* EZ Shaper configuration * Traffic Shaper Configuration
Diffstat (limited to 'usr/local/www/interfaces_assign.php')
-rwxr-xr-xusr/local/www/interfaces_assign.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index fd850f0..35b2e10 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -144,6 +144,8 @@ if ($_GET['act'] == "del") {
} else {
unset($config['interfaces']['lan']);
unset($config['dhcpd']['lan']);
+ unset($config['shaper']);
+ unset($config['ezshaper']);
}
write_config();
OpenPOWER on IntegriCloud