Revision c7f70dbc
Added by Chris Buechler over 14 years ago
etc/inc/openvpn.inc | ||
---|---|---|
228 | 228 |
$conf .= "push \"dhcp-option DNS {$settings['dns_server4']}\"\n"; |
229 | 229 |
|
230 | 230 |
if (!empty($settings['ntp_server1'])) |
231 |
$conf .= "push \"dhcp-option NTP {$settings['dhcp_ntp']}\"\n";
|
|
231 |
$conf .= "push \"dhcp-option NTP {$settings['ntp_server1']}\"\n";
|
|
232 | 232 |
if (!empty($settings['ntp_server2'])) |
233 |
$conf .= "push \"dhcp-option NTP {$settings['dhcp_ntp']}\"\n";
|
|
233 |
$conf .= "push \"dhcp-option NTP {$settings['ntp_server2']}\"\n";
|
|
234 | 234 |
|
235 | 235 |
if ($settings['netbios_enable']) { |
236 | 236 |
|
Also available in: Unified diff
fix NTP server IPs in openvpn config