types.net: normalize IPv6 address

This commit is contained in:
tv 2017-04-13 11:13:59 +02:00
parent f93e1d466f
commit 79bcfa03ed

View file

@ -103,6 +103,7 @@ rec {
options = {
addr = mkOption {
type = addr6;
apply = lib.normalize-ip6-addr;
};
prefix = mkOption ({
type = str; # TODO routing prefix (CIDR)