diff options
author | Anthony Wrather <github@anthonywrather.me.uk> | 2011-12-01 17:33:27 +0000 |
---|---|---|
committer | Anthony Wrather <github@anthonywrather.me.uk> | 2011-12-01 17:33:27 +0000 |
commit | a2578c27479c1afad0dfbeb6dba484adcc10473a (patch) | |
tree | ab5d525e4c28a614e7cb112e215f3b2aabb2f137 /usr/local/www/services_dhcp.php | |
parent | 769891b5a48f10e1feb5f017fa7e3269168e8c44 (diff) | |
download | pfsense-a2578c27479c1afad0dfbeb6dba484adcc10473a.zip pfsense-a2578c27479c1afad0dfbeb6dba484adcc10473a.tar.gz |
Updated DHCP IPv4 and IPv6 to allow global and host based filename and root-path.
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index e818738..77a20e5 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -145,7 +145,7 @@ if (is_array($config['dhcpd'][$if])){ $pconfig['tftp'] = $config['dhcpd'][$if]['tftp']; $pconfig['ldap'] = $config['dhcpd'][$if]['ldap']; $pconfig['netboot'] = isset($config['dhcpd'][$if]['netboot']); - $pconfig['nextserver'] = $config['dhcpd'][$if]['next-server']; + $pconfig['nextserver'] = $config['dhcpd'][$if]['nextserver']; $pconfig['filename'] = $config['dhcpd'][$if]['filename']; $pconfig['rootpath'] = $config['dhcpd'][$if]['rootpath']; $pconfig['failover_peerip'] = $config['dhcpd'][$if]['failover_peerip']; @@ -367,7 +367,7 @@ if ($_POST) { $config['dhcpd'][$if]['tftp'] = $_POST['tftp']; $config['dhcpd'][$if]['ldap'] = $_POST['ldap']; $config['dhcpd'][$if]['netboot'] = ($_POST['netboot']) ? true : false; - $config['dhcpd'][$if]['next-server'] = $_POST['nextserver']; + $config['dhcpd'][$if]['nextserver'] = $_POST['nextserver']; $config['dhcpd'][$if]['filename'] = $_POST['filename']; $config['dhcpd'][$if]['rootpath'] = $_POST['rootpath']; |