]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/dns.cgi
dns.cgi: Fix id compare when adding a new nameserver.
[ipfire-2.x.git] / html / cgi-bin / dns.cgi
index ae7d4efa235123985e85590587ee6ef235bfa4ab..d35bc4eabba600cccc1938ae2fd697a69b566d39 100755 (executable)
@@ -168,7 +168,7 @@ if (($cgiparams{'SERVERS'} eq $Lang::tr{'save'}) || ($cgiparams{'SERVERS'} eq $L
 
                        # The first allowed id is 3 to keep space for
                        # possible ISP assigned DNS servers.
-                       if ($id le "2") {
+                       if ($id <= "2") {
                                $id = "3";
                        }
                }