mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 15:32:59 +02:00
dns.cgi: Fix check for undefined variable
This was positive when zero was returned. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -553,7 +553,7 @@ END
|
||||
$status = &check_nameserver("$nameserver", "ping.ipfire.org", "$settings{'PROTO'}", "$tls_hostname");
|
||||
}
|
||||
|
||||
if (!$status) {
|
||||
if (!defined $status) {
|
||||
$status_short = "$Lang::tr{'disabled'}";
|
||||
|
||||
# DNSSEC Not supported
|
||||
|
||||
Reference in New Issue
Block a user