diff options
author | Chris Buechler <cmb@pfsense.org> | 2011-02-06 03:26:52 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2011-02-06 03:26:52 -0500 |
commit | c7f70dbc78d11f7304f2e363850a5fdeb9cfa66e (patch) | |
tree | 1ee6902cc9308bc4a5f124deaf48bcad6afb5142 /etc/inc/openvpn.inc | |
parent | 020b954f200c585dd8c498c617d7fd3f91f02eb3 (diff) | |
download | pfsense-c7f70dbc78d11f7304f2e363850a5fdeb9cfa66e.zip pfsense-c7f70dbc78d11f7304f2e363850a5fdeb9cfa66e.tar.gz |
fix NTP server IPs in openvpn config
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 496b8bc..08e5f92 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -228,9 +228,9 @@ function openvpn_add_dhcpopts(& $settings, & $conf) { $conf .= "push \"dhcp-option DNS {$settings['dns_server4']}\"\n"; if (!empty($settings['ntp_server1'])) - $conf .= "push \"dhcp-option NTP {$settings['dhcp_ntp']}\"\n"; + $conf .= "push \"dhcp-option NTP {$settings['ntp_server1']}\"\n"; if (!empty($settings['ntp_server2'])) - $conf .= "push \"dhcp-option NTP {$settings['dhcp_ntp']}\"\n"; + $conf .= "push \"dhcp-option NTP {$settings['ntp_server2']}\"\n"; if ($settings['netbios_enable']) { |