diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index ab563ff7c..d3b1fc9fd 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -4032,7 +4032,7 @@ sub expand_rule( $$$$$$$$$$;$ ) } else { $dnets = $dest; } - } elsif ( $dest =~ /^(?:\+|&|\..*\.)/ ) { + } elsif ( $dest =~ /(?:\+|&|\..*\.)/ ) { $dnets = $dest; } else { $diface = $dest;