lib.normalize-ip6-addr: only normalize addrs w/o ::
This commit is contained in:
parent
facbcdafc8
commit
b6e1cef6a5
|
@ -107,7 +107,11 @@ let
|
|||
in
|
||||
a: concatStringsSep ":" (map f (splitString ":" a));
|
||||
in
|
||||
a: toLower (group-zeros (drop-leading-zeros a));
|
||||
a:
|
||||
toLower
|
||||
(if test ".*::.*" a
|
||||
then a
|
||||
else group-zeros (drop-leading-zeros a));
|
||||
};
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue