Handle hostnames with upper-case letters
[webmin.git] / shorewall / status.cgi
1 #!/usr/local/bin/perl
2 # status.cgi
3 # Show the status
4
5 require './shorewall-lib.pl';
6 &ui_print_header(undef, $text{'status_title'}, "");
7 print "<font size=-1><pre>";
8 open(STATUS, "$config{'shorewall'} status 2>&1 |");
9 while(<STATUS>) {
10         print &html_escape($_);
11         }
12 close(STATUS);
13 print "</pre></font>\n";
14 &ui_print_footer("", $text{'index_return'});
15