forked from extern/shorewall_code
Correct source interface exclusion
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6fef1f34ba
commit
474604b1fe
@ -5895,7 +5895,7 @@ sub do_nfacct( $ ) {
|
|||||||
#
|
#
|
||||||
sub match_source_dev( $;$ ) {
|
sub match_source_dev( $;$ ) {
|
||||||
my ( $interface, $nodev ) = @_;
|
my ( $interface, $nodev ) = @_;
|
||||||
my $invert = ( $interface =~ s/^!// ) ? '!' : '';
|
my $invert = ( $interface =~ s/^!// ) ? '! ' : '';
|
||||||
my $interfaceref = known_interface( $interface );
|
my $interfaceref = known_interface( $interface );
|
||||||
$interface = $interfaceref->{physical} if $interfaceref;
|
$interface = $interfaceref->{physical} if $interfaceref;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user