From 79bcfa03edcf7eaeb69515c99af7522f893665f4 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 13 Apr 2017 11:13:59 +0200 Subject: types.net: normalize IPv6 address --- lib/types.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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) -- cgit v1.2.3