forked from extern/shorewall_code
Improve editing of TEST column
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6218 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
29ff6888fe
commit
45c8d39a1b
@ -897,6 +897,8 @@ sub do_test ( $$ )
|
||||
my $invert = $testval =~ s/^!// ? '! ' : '';
|
||||
my $match = $testval =~ s/:C$// ? "-m connmark ${invert}--mark" : "-m mark ${invert}--mark";
|
||||
|
||||
validate_mark $testval;
|
||||
|
||||
$testval .= '/0xFF' unless ( $testval =~ '/' );
|
||||
|
||||
"$match $testval ";
|
||||
|
Loading…
Reference in New Issue
Block a user