diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-08-13 20:38:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 20:38:32 +0000 |
commit | 762cea6a5a87e05360849bd43874f37309ed95cf (patch) | |
tree | 9daecb16a15cf296b818389526872858f6036667 /nixos/modules/tasks/network-interfaces-scripted.nix | |
parent | ae65ddc8de520a0ddf38171cd7b287018ed6c58a (diff) |
fix comment
Diffstat (limited to 'nixos/modules/tasks/network-interfaces-scripted.nix')
-rw-r--r-- | nixos/modules/tasks/network-interfaces-scripted.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nixos/modules/tasks/network-interfaces-scripted.nix b/nixos/modules/tasks/network-interfaces-scripted.nix index d5bbd6dadab4..af61c95da0af 100644 --- a/nixos/modules/tasks/network-interfaces-scripted.nix +++ b/nixos/modules/tasks/network-interfaces-scripted.nix @@ -473,9 +473,11 @@ let # Remove Dead Interfaces ip link show "${n}" >/dev/null 2>&1 && ip link delete "${n}" ip link add link "${v.interface}" name "${n}" type vlan id "${toString v.id}" - # Try to bring up vlan interface - # Note: When master interface is down, we cannot bring vlan interfaces up (#28620) - # Vlan interfaces will be automatically bring up when master is up + + # We try to bring up the logical VLAN interface. If the master + # interface the logical interface is dependent upon is not up yet we will + # fail to immediately bring up the logical interface. The resulting logical + # interface will brought up later when the master interface is up. ip link set "${n}" up || true ''; postStop = '' |