summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-03-08 07:31:24 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-03-08 07:31:24 -0500
commit040cb6ef03859d95913d324e31f0527af98eed5f (patch)
treee730e037325221400c25fd8e5518168518d9afed /src
parentcbfbab58c432ff0b70cd8699c1e509e42adf514b (diff)
parent8d89682e432158dcf5d141c1bb8d4ef3a21b6251 (diff)
downloadpfsense-040cb6ef03859d95913d324e31f0527af98eed5f.zip
pfsense-040cb6ef03859d95913d324e31f0527af98eed5f.tar.gz
Merge pull request #2716 from phil-davis/patch-6
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php
index a8a0f22..41a9b72 100644
--- a/src/usr/local/www/interfaces.php
+++ b/src/usr/local/www/interfaces.php
@@ -803,7 +803,7 @@ if ($_POST['apply']) {
if (($_POST['pptp_subnet0'] && !is_numeric($_POST['pptp_subnet0']))) {
$input_errors[] = gettext("A valid PPTP subnet bit count must be specified.");
}
- if (($_POST['pptp_remote0'] && !is_ipaddrv4($_POST['pptp_remote0']) && !is_hostname($_POST['gateway'][$iface]))) {
+ if (($_POST['pptp_remote0'] && !is_ipaddrv4($_POST['pptp_remote0']) && !is_hostname($_POST['pptp_remote0']))) {
$input_errors[] = gettext("A valid PPTP remote IP address must be specified.");
}
if (($_POST['pptp_idletimeout'] != "") && !is_numericint($_POST['pptp_idletimeout'])) {
OpenPOWER on IntegriCloud