diff options
author | jim-p <jimp@pfsense.org> | 2013-07-15 16:29:41 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-07-15 16:29:41 -0400 |
commit | 8e1aef0bf054f97aab85c8567923453397af32b2 (patch) | |
tree | 30045705fe73d9cb38ec49e79405d99c75c4c5d9 /config/openvpn-client-export/vpn_openvpn_export.php | |
parent | 5bb3bd5007f0c9b14b077e85b686aa7950d27963 (diff) | |
download | pfsense-packages-8e1aef0bf054f97aab85c8567923453397af32b2.tar.gz pfsense-packages-8e1aef0bf054f97aab85c8567923453397af32b2.tar.bz2 pfsense-packages-8e1aef0bf054f97aab85c8567923453397af32b2.zip |
RFC2136 hostnames should also be listed as choices for openvpn client export hostnames.
Diffstat (limited to 'config/openvpn-client-export/vpn_openvpn_export.php')
-rwxr-xr-x | config/openvpn-client-export/vpn_openvpn_export.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/openvpn-client-export/vpn_openvpn_export.php b/config/openvpn-client-export/vpn_openvpn_export.php index 4f7e1caa..c2a54432 100755 --- a/config/openvpn-client-export/vpn_openvpn_export.php +++ b/config/openvpn-client-export/vpn_openvpn_export.php @@ -603,6 +603,11 @@ function useproxy_changed(obj) { <option value="<?php echo $ddns["host"] ?>">DynDNS: <?php echo $ddns["host"] ?></option> <?php endforeach; ?> <?php endif; ?> + <?php if (is_array($config['dnsupdates']['dnsupdate'])): ?> + <?php foreach ($config['dnsupdates']['dnsupdate'] as $ddns): ?> + <option value="<?php echo $ddns["host"] ?>">DynDNS: <?php echo $ddns["host"] ?></option> + <?php endforeach; ?> + <?php endif; ?> <option value="other">Other</option> </select> <br /> |