diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:17:08 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:17:08 +0000 |
commit | 7385b5112a65561e09b90597c569abb6b3663ff8 (patch) | |
tree | f420a2a21fa9c6292d34022012cdb1176a0b8d4a /usr/local/www/interfaces_assign.php | |
parent | 74e44a2e2f7d98c535dd995635925c41e28ad677 (diff) | |
download | pfsense-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-x | usr/local/www/interfaces_assign.php | 2 |
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(); |