mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
Normalize IPv6 addresses in decompose_net
This commit is contained in:
parent
4ed4443abb
commit
23eef3b215
@ -281,7 +281,7 @@ sub decompose_net( $ ) {
|
||||
my $net = $_[0];
|
||||
|
||||
( $net, my $vlsm ) = validate_net( $net , 0 );
|
||||
( ( $family == F_IPV4 ? encodeaddr( $net) : $net ) , $vlsm );
|
||||
( ( $family == F_IPV4 ? encodeaddr( $net) : normalize_6addr( $net ) ) , $vlsm );
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user