diff options
author | jim-p <jimp@pfsense.org> | 2010-10-21 17:11:13 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-21 17:11:13 -0400 |
commit | 5e693f58a6a2f7562b98bc356c14aa50c1d1a783 (patch) | |
tree | 6a0af5fb85d442aed83af0dcf191b7650bf966d3 /usr/local/www/services_dhcp.php | |
parent | 630d7025810bf1ce006490db8524d6edc37ee6fb (diff) | |
download | pfsense-5e693f58a6a2f7562b98bc356c14aa50c1d1a783.zip pfsense-5e693f58a6a2f7562b98bc356c14aa50c1d1a783.tar.gz |
Break after the first error.
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 1 |
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; } } } |