diff options
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 0895e16..72f5018 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -46,11 +46,12 @@ if($config['installedpackages']['olsrd']) { } } -if($config['interfaces']['lan']) +if($config['interfaces']['lan']) { if(!$iflist) $iflist = array("lan" => "LAN"); -else +} else { $iflist = array("wan" => $g['wan_interface_name']); +} for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) { $oc = $config['interfaces']['opt' . $i]; |