Return to Firewall.pm CVS log | Up to [LON-CAPA] / loncom / configuration |
version 1.25, 2021/12/21 16:42:15 | version 1.26, 2024/04/24 21:34:44 |
---|---|
Line 365 sub firewall_is_active { | Line 365 sub firewall_is_active { |
} | } |
close(PIPE); | close(PIPE); |
} | } |
unless ($status) { | |
if (open(PIPE,'nft list tables |')) { | |
while(<PIPE>) { | |
chomp(); | |
if (/filter$/) { | |
$status = 1; | |
last; | |
} | |
} | |
close(PIPE); | |
} | |
} | |
} | } |
unless ($status) { | unless ($status) { |
$status = &uses_firewalld(); | $status = &uses_firewalld(); |