diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-02-21 08:54:54 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-21 08:54:54 -0500 |
commit | 040d9fbd2dcb10edf415d83523c4d47c4290ade9 (patch) | |
tree | ff6f7bc8798e1e6890152433ee149c363ed6291a /src/usr/local | |
parent | fa119fbfce2b09761402262cda1f5f4511a67a2a (diff) | |
parent | c25e42c8e970593ecbd5ef0b2a81379de66113d7 (diff) | |
download | pfsense-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.php | 2 |
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.'); } |