mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 21:12:59 +02:00
dns.cgi: Remove smartmatch operator
Perl likes to make things difficult Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -814,7 +814,7 @@ sub check_nameserver($$$$) {
|
||||
}
|
||||
|
||||
my $aware = ($output =~ m/RRSIG/);
|
||||
my $validating = ("ad;" ~~ @flags);
|
||||
my $validating = (grep(/ad;/, @flags));
|
||||
|
||||
return $aware + $validating;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user