pkgs/switches/junos: fix access bonds

This commit is contained in:
Astro 2022-06-27 03:01:47 +02:00
parent ce61ff7f20
commit d7381816f7
1 changed files with 1 additions and 1 deletions

View File

@ -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"