From 8e0583e993da6565bacf9ff545f174fb415fbd5a Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 29 Apr 2017 12:23:01 +0200 Subject: [PATCH] dhcp server / static leases, issue with loading settings into form. closes https://github.com/opnsense/core/issues/1568 --- src/www/services_dhcp_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/services_dhcp_edit.php b/src/www/services_dhcp_edit.php index 7b8afb383..d2932e753 100644 --- a/src/www/services_dhcp_edit.php +++ b/src/www/services_dhcp_edit.php @@ -52,8 +52,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { // read form data $pconfig = array(); $config_copy_fieldnames = array('mac', 'cid', 'hostname', 'filename', 'rootpath', 'descr', 'arp_table_static_entry', - 'defaultleasetime', 'maxleasetime', 'gateway', 'domain', 'domainsearchlist', 'wins1', 'wins2', 'dns1', 'dns2', 'ddnsdomain', - 'ddnsdomainprimary', 'ddnsdomainkeyname', 'ddnsdomainkey', 'ddnsupdate', 'ntp1', 'ntp2', 'tftp', 'ipaddr', + 'defaultleasetime', 'maxleasetime', 'gateway', 'domain', 'domainsearchlist', 'winsserver', 'dnsserver', 'ddnsdomain', + 'ddnsdomainprimary', 'ddnsdomainkeyname', 'ddnsdomainkey', 'ddnsupdate', 'ntpserver', 'tftp', 'ipaddr', 'winsserver', 'dnsserver'); foreach ($config_copy_fieldnames as $fieldname) { if (isset($if) && isset($id) && isset($config['dhcpd'][$if]['staticmap'][$id][$fieldname])) {