summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-20 21:59:05 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-20 21:59:05 -0400
commitd72b41141d756b91ca98378ff2c13e230898eb9e (patch)
treee3db303b796cfb8861c833e305356485dcac9458 /usr/local/www/services_dhcp.php
parentc7820b65b3a8c8876f5337524b762ce21fb94615 (diff)
downloadpfsense-d72b41141d756b91ca98378ff2c13e230898eb9e.zip
pfsense-d72b41141d756b91ca98378ff2c13e230898eb9e.tar.gz
Misc comments
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-xusr/local/www/services_dhcp.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index b198e58..975e399 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -296,6 +296,7 @@ if ($_POST) {
$config['dhcpd'][$if]['filename'] = $_POST['filename'];
$config['dhcpd'][$if]['rootpath'] = $_POST['rootpath'];
+ // Handle the custom options rowhelper
$numbervalue = array();
unset($config['dhcpd'][$if]['numberoptions']['item']);
for($x=0; $x<isset($_POST["number{$x}"]); $x++) {
@@ -305,6 +306,8 @@ if ($_POST) {
$config['dhcpd'][$if]['numberoptions']['item'][] = $numbervalue;
}
}
+
+ // Reload the new pconfig variable that the forum uses.
$pconfig['numberoptions'] = $config['dhcpd'][$if]['numberoptions'];
write_config();
OpenPOWER on IntegriCloud