mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-25 17:13:11 +01:00
'bridge' implies 'routeback'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
add302d02a
commit
433fc385bc
@ -923,15 +923,15 @@ sub process_interface( $ ) {
|
|||||||
$ipsets{$ipset} = 1;
|
$ipsets{$ipset} = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$zoneref->{options}{in_out}{routeback} = 1 if $zoneref && $options{routeback};
|
|
||||||
|
|
||||||
if ( $options{bridge} ) {
|
if ( $options{bridge} ) {
|
||||||
require_capability( 'PHYSDEV_MATCH', 'The "bridge" option', 's');
|
require_capability( 'PHYSDEV_MATCH', 'The "bridge" option', 's');
|
||||||
fatal_error "Bridges may not have wildcard names" if $wildcard;
|
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 ,
|
$physical{$physical} = $interfaces{$interface} = { name => $interface ,
|
||||||
|
@ -233,7 +233,9 @@ loc eth2 -</programlisting>
|
|||||||
<term><emphasis role="bold">bridge</emphasis></term>
|
<term><emphasis role="bold">bridge</emphasis></term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Designates the interface as a bridge.</para>
|
<para>Designates the interface as a bridge. Beginning with
|
||||||
|
Shorewall 4.4.7, setting this option also sets
|
||||||
|
<option>routeback</option>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -129,7 +129,9 @@ loc eth2 -</programlisting>
|
|||||||
<term><emphasis role="bold">bridge</emphasis></term>
|
<term><emphasis role="bold">bridge</emphasis></term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Designates the interface as a bridge.</para>
|
<para>Designates the interface as a bridge. Beginning with
|
||||||
|
Shorewall 4.4.7, setting this option also sets
|
||||||
|
<option>routeback</option>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user