summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-21 17:11:13 -0400
committerjim-p <jimp@pfsense.org>2010-10-21 17:11:13 -0400
commit5e693f58a6a2f7562b98bc356c14aa50c1d1a783 (patch)
tree6a0af5fb85d442aed83af0dcf191b7650bf966d3 /usr/local/www/services_dhcp.php
parent630d7025810bf1ce006490db8524d6edc37ee6fb (diff)
downloadpfsense-5e693f58a6a2f7562b98bc356c14aa50c1d1a783.zip
pfsense-5e693f58a6a2f7562b98bc356c14aa50c1d1a783.tar.gz
Break after the first error.
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-xusr/local/www/services_dhcp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index a144043..0365ccb 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -285,6 +285,7 @@ if ($_POST) {
if ((ip2ulong($map['ipaddr']) > $dynsubnet_start) &&
(ip2ulong($map['ipaddr']) < $dynsubnet_end)) {
$input_errors[] = sprintf(gettext("The DHCP range cannot overlap any static DHCP mappings."));
+ break;
}
}
}
OpenPOWER on IntegriCloud