From 36dbc14aaaeac08051e22dbc8c2f4ef330adb054 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 9 Mar 2015 10:35:26 -0400 Subject: 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. --- usr/local/www/interfaces.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'usr/local/www/interfaces.php') 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")); -- cgit v1.1