summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-03-09 10:35:26 -0400
committerjim-p <jimp@pfsense.org>2015-03-09 10:35:26 -0400
commit36dbc14aaaeac08051e22dbc8c2f4ef330adb054 (patch)
treec9941a4a85c257a7054cc05e5c3658f7fd36b29d /usr
parentbf4ea211ddf3873a1ecdac07793471081b409f29 (diff)
downloadpfsense-36dbc14aaaeac08051e22dbc8c2f4ef330adb054.zip
pfsense-36dbc14aaaeac08051e22dbc8c2f4ef330adb054.tar.gz
Allow reassignment from PPP types to DHCP. From testing, it appears to work OK, this input validation appears to be outdated.
If there is some edge case that this catches, perhaps it needs to be a more specific test.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/interfaces.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index cdb9028..764c962 100644
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -523,10 +523,6 @@ if ($_POST['apply']) {
}
}
break;
- case "dhcp":
- if (in_array($wancfg['ipaddr'], array("ppp", "pppoe", "pptp", "l2tp")))
- $input_errors[] = sprintf(gettext("You have to reassign the interface to be able to configure as %s."),$_POST['type']);
- break;
case "ppp":
$reqdfields = explode(" ", "port phone");
$reqdfieldsn = array(gettext("Modem Port"),gettext("Phone Number"));
OpenPOWER on IntegriCloud