Oops, need to specify index
This commit is contained in:
parent
4d5823a237
commit
b83750e220
2
lib.nix
2
lib.nix
|
@ -60,7 +60,7 @@ let
|
||||||
getSiteNetwork = siteName: entities.sites."${siteName}".network;
|
getSiteNetwork = siteName: entities.sites."${siteName}".network;
|
||||||
|
|
||||||
getSiteV4PrefixLength = siteName:
|
getSiteV4PrefixLength = siteName:
|
||||||
toInt (elemAt (splitString "/" (getSiteNetwork siteName)));
|
toInt (elemAt (splitString "/" (getSiteNetwork siteName)) 1);
|
||||||
|
|
||||||
getSiteV6PrefixLength = siteName:
|
getSiteV6PrefixLength = siteName:
|
||||||
abort "not implemented: getSiteV6PrefixLength";
|
abort "not implemented: getSiteV6PrefixLength";
|
||||||
|
|
Loading…
Reference in New Issue