diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index e1c7107c8..5b6e369d1 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -5895,7 +5895,7 @@ sub do_nfacct( $ ) { # sub match_source_dev( $;$ ) { my ( $interface, $nodev ) = @_; - my $invert = ( $interface =~ s/^!// ) ? '!' : ''; + my $invert = ( $interface =~ s/^!// ) ? '! ' : ''; my $interfaceref = known_interface( $interface ); $interface = $interfaceref->{physical} if $interfaceref;