mirror of
https://github.com/webmin/webmin.git
synced 2026-03-06 03:12:01 +00:00
Merge branch 'master' of git@github.com:webmin/webmin
This commit is contained in:
@@ -18,7 +18,7 @@ if ($c = &missing_firewall_commands()) {
|
||||
}
|
||||
|
||||
# Check if the kernel supports iptables
|
||||
$out = `iptables -n -t filter -L OUTPUT 2>&1`;
|
||||
$out = &backquote_command("iptables -n -t filter -L OUTPUT 2>&1");
|
||||
if ($?) {
|
||||
print "<p>",&text('index_ekernel', "<pre>$out</pre>"),"<p>\n";
|
||||
&ui_print_footer("/", $text{'index'});
|
||||
|
||||
@@ -9,7 +9,7 @@ do 'firewall-lib.pl';
|
||||
sub is_installed
|
||||
{
|
||||
return 0 if (&missing_firewall_commands());
|
||||
local $out = `iptables -n -t filter -L OUTPUT 2>&1`;
|
||||
local $out = &backquote_command("iptables -n -t filter -L OUTPUT 2>&1");
|
||||
return 0 if ($?);
|
||||
if ($_[0]) {
|
||||
if (!$config{'direct'} &&
|
||||
|
||||
Reference in New Issue
Block a user