mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix to always send ports disregard of the firewall
This commit is contained in:
@ -42,7 +42,6 @@ foreach $s (@sockets, [ undef, "*" ]) {
|
||||
}
|
||||
$stable .= &ui_columns_end();
|
||||
if (&foreign_check("firewall")) {
|
||||
print &ui_hidden("oldports", join(" ", @ports));
|
||||
$stable .= &ui_checkbox("firewall", 1, $text{'bind_firewall'}, 1);
|
||||
}
|
||||
print &ui_table_row($text{'bind_sockets'}, $stable);
|
||||
@ -74,6 +73,7 @@ print &ui_table_row($text{'bind_hostname'},
|
||||
[ 0, &ui_textbox("hostname", $miniserv{"host"}, 25) ] ]));
|
||||
|
||||
print &ui_table_end();
|
||||
print &ui_hidden("oldports", join(" ", @ports));
|
||||
print &ui_form_end([ [ "save", $text{'save'} ] ]);
|
||||
|
||||
&ui_print_footer("", $text{'index_return'});
|
||||
|
@ -39,7 +39,6 @@ foreach my $s (@sockets, [ undef, "*" ]) {
|
||||
}
|
||||
$stable .= &ui_columns_end();
|
||||
if (&foreign_check("firewall")) {
|
||||
print &ui_hidden("oldports", join(" ", @ports));
|
||||
$stable .= &ui_checkbox("firewall", 1, $text{'bind_firewall'}, 1);
|
||||
}
|
||||
print &ui_table_row($text{'bind_sockets'}, $stable);
|
||||
@ -99,6 +98,7 @@ print &ui_table_row($text{'bind_maxlifetime'},
|
||||
$text{'bind_maxlifetime_secs'});
|
||||
|
||||
print &ui_table_end();
|
||||
print &ui_hidden("oldports", join(" ", @ports));
|
||||
print &ui_form_end([ [ "save", $text{'save'} ] ]);
|
||||
|
||||
&ui_print_footer("", $text{'index_return'});
|
||||
|
Reference in New Issue
Block a user