forked from extern/shorewall_code
Add address normalization to IPv6 range checking -- Take 3
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9071 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0da926129e
commit
907d3bbd17
@ -575,6 +575,7 @@ sub validate_6range( $$ ) {
|
|||||||
my ( $l, $h) = ( shift @low, shift @high );
|
my ( $l, $h) = ( shift @low, shift @high );
|
||||||
next if hex "0x$l" == hex "0x$h";
|
next if hex "0x$l" == hex "0x$h";
|
||||||
return 1 if hex "0x$l" < hex "0x$h";
|
return 1 if hex "0x$l" < hex "0x$h";
|
||||||
|
last;
|
||||||
}
|
}
|
||||||
|
|
||||||
fatal_error "Invalid IPv6 Range ($low-$high)";
|
fatal_error "Invalid IPv6 Range ($low-$high)";
|
||||||
|
Loading…
Reference in New Issue
Block a user