From 066a01742000707d748b5a0d137be51aa0590b9c Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 25 Nov 2012 08:52:33 -0800 Subject: [PATCH] Correct typo in Raw.pm - The OUTPUT chain designator test was using '0' (zero) rather than 'O'. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Raw.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Raw.pm b/Shorewall/Perl/Shorewall/Raw.pm index 0e5a120d7..31b6e6dfd 100644 --- a/Shorewall/Perl/Shorewall/Raw.pm +++ b/Shorewall/Perl/Shorewall/Raw.pm @@ -260,7 +260,7 @@ sub setup_conntrack() { } else { process_conntrack_rule( undef, undef, $action, $source, $dest, $proto, $ports, $sports, $user, $switch ); } - } elsif ( $action =~ s/:0$// ) { + } elsif ( $action =~ s/:O$// ) { process_conntrack_rule( $raw_table->{OUTPUT}, undef, $action, $source, $dest, $proto, $ports, $sports, $user, $switch ); } elsif ( $action =~ s/:OP// || $action =~ s/:PO// ) { process_conntrack_rule( $raw_table->{PREROUTING}, undef, $action, $source, $dest, $proto, $ports, $sports, $user, $switch );