diff --git a/nix/pkgs/switches/junos.nix b/nix/pkgs/switches/junos.nix index 596aa19..32dfd2c 100644 --- a/nix/pkgs/switches/junos.nix +++ b/nix/pkgs/switches/junos.nix @@ -70,7 +70,7 @@ let let linkConfig = hostConfig.links.${name}; group = toString linkConfig.group; - isBond = linkConfig.trunk && + isBond = linkConfig.group != null && builtins.length linkConfig.ports > 1; nets = map (net: if net == "mgmt"