Add address normalization to IPv6 range checking -- Take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9070 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-12-16 01:27:53 +00:00
parent 0b253b3b8a
commit 0da926129e

View File

@ -573,7 +573,7 @@ sub validate_6range( $$ ) {
while ( @low ) {
my ( $l, $h) = ( shift @low, shift @high );
next if $l eq $h;
next if hex "0x$l" == hex "0x$h";
return 1 if hex "0x$l" < hex "0x$h";
}