diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index fade3c5b9..d8eba7d1b 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -923,15 +923,15 @@ sub process_interface( $ ) { $ipsets{$ipset} = 1; } - $zoneref->{options}{in_out}{routeback} = 1 if $zoneref && $options{routeback}; - if ( $options{bridge} ) { require_capability( 'PHYSDEV_MATCH', 'The "bridge" option', 's'); fatal_error "Bridges may not have wildcard names" if $wildcard; + $options{routeback} = 1; } - $hostoptionsref = \%hostoptions; + $zoneref->{options}{in_out}{routeback} = 1 if $zoneref && $options{routeback}; + $hostoptionsref = \%hostoptions; } $physical{$physical} = $interfaces{$interface} = { name => $interface , diff --git a/manpages/shorewall-interfaces.xml b/manpages/shorewall-interfaces.xml index be510e638..450e2efe2 100644 --- a/manpages/shorewall-interfaces.xml +++ b/manpages/shorewall-interfaces.xml @@ -233,7 +233,9 @@ loc eth2 - bridge - Designates the interface as a bridge. + Designates the interface as a bridge. Beginning with + Shorewall 4.4.7, setting this option also sets + . diff --git a/manpages6/shorewall6-interfaces.xml b/manpages6/shorewall6-interfaces.xml index 2bdbd10b7..c0ff6d765 100644 --- a/manpages6/shorewall6-interfaces.xml +++ b/manpages6/shorewall6-interfaces.xml @@ -129,7 +129,9 @@ loc eth2 - bridge - Designates the interface as a bridge. + Designates the interface as a bridge. Beginning with + Shorewall 4.4.7, setting this option also sets + .