forked from extern/shorewall_code
Copy output interface options rather than jump
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
39f214208a
commit
1da7f52ed5
@ -5859,7 +5859,8 @@ sub add_interface_options( $ ) {
|
||||
|
||||
for my $interface ( @interfaces ) {
|
||||
if ( ( $chain1ref = $filter_table->{output_option_chain $interface} ) && @{$chain1ref->{rules}} ) {
|
||||
add_ijump ( $chainref , j => $chain1ref->{name}, @interfaces > 1 ? imatch_dest_dev( $interface ) : () );
|
||||
copy_rules( $chain1ref, $chainref, 1 );
|
||||
$chainref->{referenced} = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user