diff options
author | tv <tv@krebsco.de> | 2017-04-13 11:13:59 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-04-13 11:13:59 +0200 |
commit | 79bcfa03edcf7eaeb69515c99af7522f893665f4 (patch) | |
tree | f56c276a91112c2728a07276b44a5b16d32f5032 | |
parent | f93e1d466f9454dc5e10ac9903cefa281407db29 (diff) |
types.net: normalize IPv6 address
-rw-r--r-- | lib/types.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix index 8a3c76483..f511541bd 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -103,6 +103,7 @@ rec { options = { addr = mkOption { type = addr6; + apply = lib.normalize-ip6-addr; }; prefix = mkOption ({ type = str; # TODO routing prefix (CIDR) |