forked from extern/shorewall_code
Correct IPv6 address range parsing in handle_one_masq1
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e873cb28f4
commit
f2ee46b83e
@ -277,7 +277,7 @@ sub process_one_masq1( $$$$$$$$$$ )
|
|||||||
|
|
||||||
$addr = $1;
|
$addr = $1;
|
||||||
|
|
||||||
if ( $addr =~ /^(.+)-(.+)$/ ) {
|
if ( $addr =~ /^(.+)]-\[(.+)$/ ) {
|
||||||
validate_range( $1, $2 );
|
validate_range( $1, $2 );
|
||||||
} else {
|
} else {
|
||||||
validate_address $addr, 0;
|
validate_address $addr, 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user