forked from extern/shorewall_code
Don't include comment in audit chain rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5082b0701a
commit
1a2c9a08e1
@ -1139,6 +1139,8 @@ sub map_old_actions( $ ) {
|
||||
sub ensure_audit_chain( $;$ ) {
|
||||
my ( $target, $action ) = @_;
|
||||
|
||||
push_comment( '' );
|
||||
|
||||
my $ref = $filter_table->{$target};
|
||||
|
||||
unless ( $ref ) {
|
||||
@ -1162,6 +1164,8 @@ sub ensure_audit_chain( $;$ ) {
|
||||
}
|
||||
}
|
||||
|
||||
pop_comment;
|
||||
|
||||
return $target;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user