mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix variable name
This commit is contained in:
parent
0ef48aed8b
commit
5b64e3369a
@ -1166,11 +1166,11 @@ function system_ntp_configure() {
|
||||
$ips = array_map('find_interface_ip', $ifaces);
|
||||
foreach ($ips as $ip) {
|
||||
if (is_ipaddr($ip))
|
||||
$ntpdcfg .= "listen on $ip\n";
|
||||
$ntpcfg .= "listen on $ip\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
$ntpdcfg .= "\n";
|
||||
$ntpcfg .= "\n";
|
||||
|
||||
/* open configuration for wrting or bail */
|
||||
$fd = fopen("{$g['varetc_path']}/ntpd.conf","w");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user