mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Don't recognize flag that's not valid https://github.com/webmin/webmin/issues/948
This commit is contained in:
@@ -240,11 +240,12 @@ return @rv;
|
||||
sub describe_rule
|
||||
{
|
||||
local (@c, $d);
|
||||
my $sd = &supports_conntrack() ? "ctstate" : "state";
|
||||
foreach $d ('p', 's', 'd', 'i', 'o', 'f', 'dport',
|
||||
'sport', 'tcp-flags', 'tcp-option',
|
||||
'icmp-type', 'icmpv6-type', 'mac-source', 'limit', 'limit-burst',
|
||||
'ports', 'uid-owner', 'gid-owner',
|
||||
'pid-owner', 'sid-owner', 'state', 'ctstate', 'tos',
|
||||
'pid-owner', 'sid-owner', $sd, 'tos',
|
||||
'dports', 'sports', 'physdev-in', 'physdev-out', 'args') {
|
||||
if ($_[0]->{$d}) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user