From f2ee46b83e8d6e579fa7d17580da1b8c56002255 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 25 Feb 2013 13:37:22 -0800 Subject: [PATCH] Correct IPv6 address range parsing in handle_one_masq1 Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Nat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Nat.pm b/Shorewall/Perl/Shorewall/Nat.pm index 1019f88f8..ccbcfcd96 100644 --- a/Shorewall/Perl/Shorewall/Nat.pm +++ b/Shorewall/Perl/Shorewall/Nat.pm @@ -277,7 +277,7 @@ sub process_one_masq1( $$$$$$$$$$ ) $addr = $1; - if ( $addr =~ /^(.+)-(.+)$/ ) { + if ( $addr =~ /^(.+)]-\[(.+)$/ ) { validate_range( $1, $2 ); } else { validate_address $addr, 0;