summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-09-05 13:39:29 +0700
committergnhb <gnoahb@gmail.com>2010-09-05 13:39:29 +0700
commit52bebb6f44293de1d184c2a6310ad6fb38c5f7f2 (patch)
tree622fa7c8efa39bd0fca048e0190c19c02e323766 /usr
parent3896d93ec5b2d28ed4f6fdbcfbfc032ddf9c564d (diff)
downloadpfsense-52bebb6f44293de1d184c2a6310ad6fb38c5f7f2.zip
pfsense-52bebb6f44293de1d184c2a6310ad6fb38c5f7f2.tar.gz
Add missing break statement in input validation code.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 27b38e0..b313045 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -382,6 +382,7 @@ if ($_POST) {
$input_errors[] = gettext("This interface is referenced by 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[] = gettext("You have to reassign the interface to be able to configure as {$_POST['type']}.");
OpenPOWER on IntegriCloud