Don't include comment in audit chain rules

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-05-27 19:56:04 -07:00
parent 5082b0701a
commit 1a2c9a08e1

View File

@ -1139,6 +1139,8 @@ sub map_old_actions( $ ) {
sub ensure_audit_chain( $;$ ) { sub ensure_audit_chain( $;$ ) {
my ( $target, $action ) = @_; my ( $target, $action ) = @_;
push_comment( '' );
my $ref = $filter_table->{$target}; my $ref = $filter_table->{$target};
unless ( $ref ) { unless ( $ref ) {
@ -1162,6 +1164,8 @@ sub ensure_audit_chain( $;$ ) {
} }
} }
pop_comment;
return $target; return $target;
} }