From e6275ba31d93a16a938fd598a6b8c610e55602e1 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 30 May 2011 15:28:00 -0700 Subject: [PATCH] Fix a bug in auditing Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 24fd7b0ac..8f9aaa724 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -1160,7 +1160,7 @@ sub ensure_audit_chain( $;$ ) { if ( $action eq 'REJECT' ) { add_jump $ref , 'reject', 1; } else { - add_rule $ref , "-j $action"; + add_jump $ref , $action, 0; } }