mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
(legacy) missing ntpserver in post, services_dhcp.php
This commit is contained in:
parent
9628c0db12
commit
c4a63d3f03
@ -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") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user