From 6e9d9e239d94d461c3e48dd7b22c24d7f2893166 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 22 Nov 2009 08:20:07 -0800 Subject: [PATCH] Apply 4.4.4.1 changes to master --- Shorewall/Perl/Shorewall/Rules.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 631462d92..65798b7b3 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -322,7 +322,7 @@ sub process_routestopped() { $seq++; - my $rule = do_proto( $proto, $ports, $sports, 1 ); + my $rule = do_proto( $proto, $ports, $sports, 0 ); for my $host ( split /,/, $hosts ) { validate_host $host, 1; @@ -2316,7 +2316,7 @@ EOF } } else { for my $interface ( all_bridges ) { - emit "do_iptables -A FORWARD -p 58 " . match_source_interface( $interface ) . match_dest_interface( $interface ) . "-j ACCEPT"; + emit "do_iptables -A FORWARD -p 58 " . match_source_dev( $interface ) . match_dest_dev( $interface ) . "-j ACCEPT"; } if ( $config{IP_FORWARDING} eq 'on' ) {