Fix to correctly open ports on contemporary systems

This commit is contained in:
Ilia Ross
2025-07-06 21:08:18 +03:00
parent 0bcbcd94b8
commit 2d86d8c77a
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ foreach $s (@sockets, [ undef, "*" ]) {
$i++;
}
$stable .= &ui_columns_end();
if (&foreign_check("firewall")) {
if (&foreign_check("firewall") || &foreign_check("firewalld")) {
$stable .= &ui_checkbox("firewall", 1, $text{'bind_firewall'}, 1);
}
print &ui_table_row($text{'bind_sockets'}, $stable);

View File

@ -38,7 +38,7 @@ foreach my $s (@sockets, [ undef, "*" ]) {
$i++;
}
$stable .= &ui_columns_end();
if (&foreign_check("firewall")) {
if (&foreign_check("firewall") || &foreign_check("firewalld")) {
$stable .= &ui_checkbox("firewall", 1, $text{'bind_firewall'}, 1);
}
print &ui_table_row($text{'bind_sockets'}, $stable);