From bf4ea211ddf3873a1ecdac07793471081b409f29 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 9 Mar 2015 10:22:14 -0400 Subject: Add missing 'break' statement that broke switching from a PPP type to 'none'. --- usr/local/www/interfaces.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local/www/interfaces.php') diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 795569c..cdb9028 100644 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -522,6 +522,7 @@ if ($_POST['apply']) { $input_errors[] = gettext("This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration."); } } + 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']); @@ -575,6 +576,7 @@ if ($_POST['apply']) { $input_errors[] = gettext("This interface is referenced by IPv6 VIPs. Please delete those before setting the interface to 'none' configuration."); } } + break; case "dhcp6": if (in_array($wancfg['ipaddrv6'], array())) $input_errors[] = sprintf(gettext("You have to reassign the interface to be able to configure as %s."),$_POST['type6']); -- cgit v1.1