mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #2678 from TheUbuntuGuy/master
This commit is contained in:
commit
040d9fbd2d
@ -203,7 +203,7 @@ if ($_POST) {
|
||||
}
|
||||
}
|
||||
|
||||
if (count($dnslist) != count(array_unique($dnslist))) {
|
||||
if (count(array_filter($dnslist)) != count(array_unique(array_filter($dnslist)))) {
|
||||
$input_errors[] = gettext('Each configured DNS server must have a unique IP address. Remove the duplicated IP.');
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user