forked from extern/shorewall_code
Remaining IPv4 problems uncovered with regression tests
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9014 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
2e8224e5ca
commit
0e2b1aa5bd
@ -768,6 +768,7 @@ sub process_actions3 () {
|
||||
}
|
||||
|
||||
add_rule $chainref, '-m addrtype --dst-type BROADCAST -j ACCEPT';
|
||||
add_rule $chainref, '-d 224.0.0.0/4 -j ACCEPT';
|
||||
} else {
|
||||
if ( $family == F_IPV4 ) {
|
||||
add_command $chainref, 'for address in $ALL_BCASTS; do';
|
||||
|
@ -481,7 +481,7 @@ sub process_routestopped() {
|
||||
unless ( $matched ) {
|
||||
for my $host1 ( @allhosts ) {
|
||||
unless ( $host eq $host1 ) {
|
||||
my ( $interface1, $h1 ) = split /:/, $host1;
|
||||
my ( $interface1, $h1 ) = split /\|/, $host1;
|
||||
my $dest1 = match_dest_net $h1;
|
||||
my $desti1 = match_dest_dev $interface1;
|
||||
emit "$tool -A FORWARD $sourcei $desti1 $source $dest1 -j ACCEPT";
|
||||
|
Loading…
Reference in New Issue
Block a user