Commit c4a63d3f authored by Ad Schellevis's avatar Ad Schellevis

(legacy) missing ntpserver in post, services_dhcp.php

parent 9628c0db
...@@ -462,6 +462,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -462,6 +462,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if (!empty($pconfig['dns2'])) { if (!empty($pconfig['dns2'])) {
$dhcpdconf['dnsserver'][] = $pconfig['dns2']; $dhcpdconf['dnsserver'][] = $pconfig['dns2'];
} }
$dhcpdconf['ntpserver'] = [];
if (!empty($pconfig['ntp1'])) {
$dhcpdconf['ntpserver'][] = $pconfig['ntp1'];
}
if (!empty($pconfig['ntp2'])) {
$dhcpdconf['ntpserver'][] = $pconfig['ntp2'];
}
// handle changes // handle changes
if (!isset($pool) && $act != "newpool") { if (!isset($pool) && $act != "newpool") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment