forked from extern/shorewall_code
Correctly handle alternate specification with ';' in 'update -t'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3e87efc82b
commit
1759fc75b0
@ -950,7 +950,13 @@ sub process_tc_rule1( $$$$$$$$$$$$$$$$ ) {
|
|||||||
|
|
||||||
my $raw_matches = fetch_inline_matches;
|
my $raw_matches = fetch_inline_matches;
|
||||||
|
|
||||||
$line .= join( '', ' ;', $raw_matches ) if $raw_matches ne ' ';
|
if ( $raw_matches ne ' ' ) {
|
||||||
|
if ( $command =~ /^INLINE/ || $config{INLINE_MATCHES} ) {
|
||||||
|
$line .= join( '', ' ;', $raw_matches );es
|
||||||
|
} else {
|
||||||
|
$line .= join( '', ' {', $raw_matches , ' }' );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
print $mangle "$line\n";
|
print $mangle "$line\n";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user