mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix to correctly open ports on contemporary systems
This commit is contained in:
@ -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);
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user