summaryrefslogtreecommitdiffstats
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:36:12 -0400
commit261f727120eb57ee1274830fd2b999e3eb826593 (patch)
treeeec6f67a8b27b2a7a738c2080563f883b4e248e0
parent5bd0ba3e5de5c5f3a8ebb01ec0db15125dcdb523 (diff)
downloadpfsense-261f727120eb57ee1274830fd2b999e3eb826593.zip
pfsense-261f727120eb57ee1274830fd2b999e3eb826593.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.
-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