Correct IPv6 address range parsing in handle_one_masq1

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-25 13:37:22 -08:00
parent e873cb28f4
commit f2ee46b83e

View File

@ -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;