fix(networks): ipv6 != ipv4

This commit is contained in:
Tom Hubrecht 2024-02-23 13:10:31 +01:00
parent 58c8d0f6d2
commit 8e629c63b9

View file

@ -240,7 +240,7 @@ in
ipv4 = builtins.filter (ip: builtins.substring 0 7 ip != "192.168") ( ipv4 = builtins.filter (ip: builtins.substring 0 7 ip != "192.168") (
getAddresses "ipv4" (builtins.attrValues config.interfaces) getAddresses "ipv4" (builtins.attrValues config.interfaces)
); );
ipv6 = builtins.filter (_: true) ((getAddresses "ipv4") (builtins.attrValues config.interfaces)); ipv6 = builtins.filter (_: true) ((getAddresses "ipv6") (builtins.attrValues config.interfaces));
}; };
}; };
} }