diff options
Diffstat (limited to 'usr/local')
-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 3d2cec0..5dca193 100755 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -298,7 +298,7 @@ if ($_GET['act'] == "del") { * then ensure that we are not running DHCP on the wan which * will make a lot of ISP's unhappy. */ - if($config['interfaces']['lan']) { + if($config['interfaces']['lan'] && $config['dhcpd']['wan']) { unset($config['dhcpd']['wan']); } |