diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 03:54:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 03:54:50 +0000 |
commit | 89240fb1dd64a98fdc59c238f3e6cc93da4f3565 (patch) | |
tree | 0556502f47ce225d75ee3f623d3c4c849d56f34a /usr/local/www | |
parent | 1c451b065f7ed104cbd28605381b1626cf0d651f (diff) | |
download | pfsense-89240fb1dd64a98fdc59c238f3e6cc93da4f3565.zip pfsense-89240fb1dd64a98fdc59c238f3e6cc93da4f3565.tar.gz |
Fix braindead php {}
Diffstat (limited to 'usr/local/www')
-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]; |