mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 23:28:59 +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];
|
my $net = $_[0];
|
||||||
|
|
||||||
( $net, my $vlsm ) = validate_net( $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