mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Break after the first error.
This commit is contained in:
parent
630d702581
commit
5e693f58a6
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user