diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-09-11 08:38:52 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-09-11 08:38:52 -0300 |
commit | 4889b4c0c50341036aa412de3d66ed2cdc4392ed (patch) | |
tree | 4ecd6133ab56162dcf69cd1c065e8c0a90cdaffa /etc | |
parent | b7063ed37a3729ad2b1ab0e3f7f30eeb35daffd4 (diff) | |
parent | c38764dc0494463b06f70c7ef8e249629a922134 (diff) | |
download | pfsense-4889b4c0c50341036aa412de3d66ed2cdc4392ed.zip pfsense-4889b4c0c50341036aa412de3d66ed2cdc4392ed.tar.gz |
Merge pull request #1260 from DasTestament/master
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/openvpn.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 6ac92fa..c7d918c 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -350,6 +350,9 @@ function openvpn_add_dhcpopts(& $settings, & $conf) { if (!empty($settings['dns_server4'])) $conf .= "push \"dhcp-option DNS {$settings['dns_server4']}\"\n"; + if (!empty($settings['push_register_dns'])) + $conf .= "push \"register-dns\"\n"; + if (!empty($settings['ntp_server1'])) $conf .= "push \"dhcp-option NTP {$settings['ntp_server1']}\"\n"; if (!empty($settings['ntp_server2'])) |