From 7385b5112a65561e09b90597c569abb6b3663ff8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 9 Feb 2008 04:17:08 +0000 Subject: When deleting the LAN interface automatically unset: * EZ Shaper configuration * Traffic Shaper Configuration --- usr/local/www/interfaces_assign.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local') 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(); -- cgit v1.1