Break after the first error.

This commit is contained in:
jim-p 2010-10-21 17:11:13 -04:00
parent 630d702581
commit 5e693f58a6

View File

@ -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;
}
}
}