mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
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;
|
my $ports;
|
||||||
|
|
||||||
if ( $addr =~ s/:([^]]+)$// ) {
|
if ( $addr =~ s/:([^]:]+)$// ) {
|
||||||
$ports = $1;
|
$ports = $1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user