summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-03-09 10:22:14 -0400
committerjim-p <jimp@pfsense.org>2015-03-09 10:22:53 -0400
commitbf4ea211ddf3873a1ecdac07793471081b409f29 (patch)
tree1f8da37ba43b83846037995c9f47ee2ee124ed8b
parentaab23249c4ad06823f59a481cba212a00cbf2aba (diff)
downloadpfsense-bf4ea211ddf3873a1ecdac07793471081b409f29.zip
pfsense-bf4ea211ddf3873a1ecdac07793471081b409f29.tar.gz
Add missing 'break' statement that broke switching from a PPP type to 'none'.
-rw-r--r--usr/local/www/interfaces.php2
1 files changed, 2 insertions, 0 deletions
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']);
OpenPOWER on IntegriCloud