*** services_dhcp.php.org Thu Mar 20 16:31:07 2014
--- /usr/local/www/services_dhcp.php Thu Mar 20 16:31:22 2014
***************
*** 184,189 ****
--- 184,190 ----
list($pconfig['dns1'],$pconfig['dns2']) = $dhcpdconf['dnsserver'];
$pconfig['denyunknown'] = isset($dhcpdconf['denyunknown']);
$pconfig['ddnsdomain'] = $dhcpdconf['ddnsdomain'];
+ $pconfig['ddnsprimary'] = $dhcpdconf['ddnsprimary'];
$pconfig['ddnsupdate'] = isset($dhcpdconf['ddnsupdate']);
$pconfig['mac_allow'] = $dhcpdconf['mac_allow'];
$pconfig['mac_deny'] = $dhcpdconf['mac_deny'];
***************
*** 471,476 ****
--- 472,478 ----
$dhcpdconf['domainsearchlist'] = $_POST['domainsearchlist'];
$dhcpdconf['denyunknown'] = ($_POST['denyunknown']) ? true : false;
$dhcpdconf['ddnsdomain'] = $_POST['ddnsdomain'];
+ $dhcpdconf['ddnsprimary'] = $_POST['ddnsprimary'];
$dhcpdconf['ddnsupdate'] = ($_POST['ddnsupdate']) ? true : false;
$dhcpdconf['mac_allow'] = $_POST['mac_allow'];
$dhcpdconf['mac_deny'] = $_POST['mac_deny'];
***************
*** 612,617 ****
--- 614,620 ----
document.iform.staticarp.disabled = endis;
document.iform.dhcpleaseinlocaltime.disabled = endis;
document.iform.ddnsdomain.disabled = endis;
+ document.iform.ddnsprimary.disabled = endis;
document.iform.ddnsupdate.disabled = endis;
document.iform.mac_allow.disabled = endis;
document.iform.mac_deny.disabled = endis;
***************
*** 993,999 ****
>
=gettext("Enable registration of DHCP client names in DNS.");?>
!
=gettext("Note: Leave blank to disable dynamic DNS registration.");?>
=gettext("Enter the dynamic DNS domain which will be used to register client names in the DNS server.");?>
--- 996,1004 ----
>
=gettext("Enable registration of DHCP client names in DNS.");?>
!
!
!
=gettext("Note: Leave blank to disable dynamic DNS registration.");?>
=gettext("Enter the dynamic DNS domain which will be used to register client names in the DNS server.");?>