summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
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:48 -0400
commit5bd0ba3e5de5c5f3a8ebb01ec0db15125dcdb523 (patch)
tree35f30c5bc5c0149c4781eae56fd6f9e7a4bcd9ef /usr/local/www/interfaces.php
parent2385106ec9199fa5635db2c20f6ef3c906d350fb (diff)
downloadpfsense-5bd0ba3e5de5c5f3a8ebb01ec0db15125dcdb523.zip
pfsense-5bd0ba3e5de5c5f3a8ebb01ec0db15125dcdb523.tar.gz
Add missing 'break' statement that broke switching from a PPP type to 'none'.
Diffstat (limited to 'usr/local/www/interfaces.php')
-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