forked from extern/shorewall_code
Catch ::<port-range> in /etc/shorewall6/snat
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f2ee46b83e
commit
6b825abeb4
@ -269,7 +269,7 @@ sub process_one_masq1( $$$$$$$$$$ )
|
||||
#
|
||||
my $ports;
|
||||
|
||||
if ( $addr =~ s/:([^]]+)$// ) {
|
||||
if ( $addr =~ s/:([^]:]+)$// ) {
|
||||
$ports = $1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user