The ::1 network has extra stuff...

This commit is contained in:
niten 2024-01-31 09:56:34 -08:00
parent 38640140c8
commit 62e4276a86
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ in {
config = let
domainName = config.instance.local-domain;
zoneName = config.fudo.domains."${domainName}".zone;
isLocal = network: network == "::1" || hasPrefix "127." network;
isLocal = network: hasPrefix "::1/" network || hasPrefix "127." network;
localNetworks =
filter (network: !(isLocal network)) config.instance.local-networks;
makeName = network: