summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-10 15:31:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-10 15:31:16 +0000
commite9e89a7152852393d3530df2f15be8af57170635 (patch)
treed873d03e40103e91dd2003a26e4ed0f41ce8ae8a /usr
parent37af141788e5a450e7978c51c51962d0f981f0a3 (diff)
downloadpfsense-e9e89a7152852393d3530df2f15be8af57170635.zip
pfsense-e9e89a7152852393d3530df2f15be8af57170635.tar.gz
Allow dynamic dns hostnames
Ticket #324
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/vpn_ipsec_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_edit.php b/usr/local/www/vpn_ipsec_edit.php
index 2e2febd..71c90be 100755
--- a/usr/local/www/vpn_ipsec_edit.php
+++ b/usr/local/www/vpn_ipsec_edit.php
@@ -160,7 +160,8 @@ if ($_POST) {
$input_errors[] = "A valid remote network address must be specified.";
}
if (($_POST['remotegw'] && !is_ipaddr($_POST['remotegw']))) {
- $input_errors[] = "A valid remote gateway address must be specified.";
+ if($_POST['p1myidentt'] <> "dyn_dns")
+ $input_errors[] = "A valid remote gateway address must be specified.";
}
if ((($_POST['p1myidentt'] == "address") && !is_ipaddr($_POST['p1myident']))) {
$input_errors[] = "A valid IP address for 'My identifier' must be specified.";
OpenPOWER on IntegriCloud