Commit 0b685561 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) missing ntpserver in post, services_dhcp.php

(cherry picked from commit c4a63d3f)
parent adf83568
......@@ -462,6 +462,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if (!empty($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
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