]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
dns.cgi: Fix id compare when adding a new nameserver.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 13 Jan 2020 09:42:56 +0000 (10:42 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 13 Jan 2020 09:42:56 +0000 (10:42 +0100)
commit611587cf29033a8cdcd86b02a5ec40bd8a9b2a08
tree41f9977ecab34df2c3744f1d0be925c76f81d8f8
parent4caa0efc595594d167d24085f7a181a4baa7bdc0
dns.cgi: Fix id compare when adding a new nameserver.

I do not know why perl when using "le" which means "less-or-equal"
defines a "10" as "1".

This commit fixes the issue that it was not possible to add more than 8
nameservers.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/dns.cgi