summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-02-21 08:54:54 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-02-21 08:54:54 -0500
commit040d9fbd2dcb10edf415d83523c4d47c4290ade9 (patch)
treeff6f7bc8798e1e6890152433ee149c363ed6291a /src/usr/local
parentfa119fbfce2b09761402262cda1f5f4511a67a2a (diff)
parentc25e42c8e970593ecbd5ef0b2a81379de66113d7 (diff)
downloadpfsense-040d9fbd2dcb10edf415d83523c4d47c4290ade9.zip
pfsense-040d9fbd2dcb10edf415d83523c4d47c4290ade9.tar.gz
Merge pull request #2678 from TheUbuntuGuy/master
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index dcbcedb..61e44c2 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -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.');
}
OpenPOWER on IntegriCloud