diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:06:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:06:39 +0000 |
commit | 0a2c6a5b3b63d728e67982d1c6cadbf9bb6add95 (patch) | |
tree | af7ab28a7d29398b03a9e5a71f22fa5d1a45874d /usr/local/www | |
parent | 7131d92eed4a92c3a12482f7ceced36c029596fe (diff) | |
download | pfsense-0a2c6a5b3b63d728e67982d1c6cadbf9bb6add95.zip pfsense-0a2c6a5b3b63d728e67982d1c6cadbf9bb6add95.tar.gz |
Fix braindead php {}
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index ab79da1..a652921 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -62,12 +62,13 @@ for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) { } /* set the starting interface */ -if($config['interfaces']['lan']) +if($config['interfaces']['lan']) { if (!$if || !isset($iflist[$if])) $if = "lan"; -else +} else { $if = "wan"; - +} + $pconfig['range_from'] = $config['dhcpd'][$if]['range']['from']; $pconfig['range_to'] = $config['dhcpd'][$if]['range']['to']; $pconfig['deftime'] = $config['dhcpd'][$if]['defaultleasetime']; |