diff options
author | gnhb <gnoahb@gmail.com> | 2010-09-05 13:39:29 +0700 |
---|---|---|
committer | gnhb <gnoahb@gmail.com> | 2010-09-05 13:39:29 +0700 |
commit | 52bebb6f44293de1d184c2a6310ad6fb38c5f7f2 (patch) | |
tree | 622fa7c8efa39bd0fca048e0190c19c02e323766 /usr/local/www/interfaces.php | |
parent | 3896d93ec5b2d28ed4f6fdbcfbfc032ddf9c564d (diff) | |
download | pfsense-52bebb6f44293de1d184c2a6310ad6fb38c5f7f2.zip pfsense-52bebb6f44293de1d184c2a6310ad6fb38c5f7f2.tar.gz |
Add missing break statement in input validation code.
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-x | usr/local/www/interfaces.php | 1 |
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']}."); |