aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2011-05-18 00:16:08 -0700
committerrobiscool <robrob2626@yahoo.com>2011-05-18 00:16:08 -0700
commit8b6da5906eaa1a77b83b6d4facd8b0141ece147d (patch)
treee8ed5b33b47990cc292f23e8461e07c581dddca1 /config/openvpn-client-export
parentbda6fd2c6306af23251a7b476c04c8adc62042ac (diff)
parent882406aedba41f9871cde9228c79c0fba30488b8 (diff)
downloadpfsense-packages-8b6da5906eaa1a77b83b6d4facd8b0141ece147d.tar.gz
pfsense-packages-8b6da5906eaa1a77b83b6d4facd8b0141ece147d.tar.bz2
pfsense-packages-8b6da5906eaa1a77b83b6d4facd8b0141ece147d.zip
Merge branch 'master' of git@github.com:bsdperimeter/pfsense-packages.git
Diffstat (limited to 'config/openvpn-client-export')
-rwxr-xr-xconfig/openvpn-client-export/vpn_openvpn_export.php5
-rw-r--r--config/openvpn-client-export/vpn_openvpn_export_shared.php5
2 files changed, 10 insertions, 0 deletions
diff --git a/config/openvpn-client-export/vpn_openvpn_export.php b/config/openvpn-client-export/vpn_openvpn_export.php
index 6bfdd4e3..04945381 100755
--- a/config/openvpn-client-export/vpn_openvpn_export.php
+++ b/config/openvpn-client-export/vpn_openvpn_export.php
@@ -620,6 +620,11 @@ function useproxy_changed(obj) {
<select name="useaddr" id="useaddr" class="formselect" onChange="useaddr_changed(this)">
<option value="serveraddr" >Interface IP Address</option>
<option value="serverhostname" >Installation hostname</option>
+ <?php if (is_array($config['dyndnses']['dyndns'])): ?>
+ <?php foreach ($config['dyndnses']['dyndns'] 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 />
diff --git a/config/openvpn-client-export/vpn_openvpn_export_shared.php b/config/openvpn-client-export/vpn_openvpn_export_shared.php
index 60bd09d4..d2a555e7 100644
--- a/config/openvpn-client-export/vpn_openvpn_export_shared.php
+++ b/config/openvpn-client-export/vpn_openvpn_export_shared.php
@@ -315,6 +315,11 @@ function useproxy_changed(obj) {
<select name="useaddr" id="useaddr" class="formselect" onChange="useaddr_changed(this)">
<option value="serveraddr" >Interface IP Address</option>
<option value="serverhostname" >Installation hostname</option>
+ <?php if (is_array($config['dyndnses']['dyndns'])): ?>
+ <?php foreach ($config['dyndnses']['dyndns'] 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 />