diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkd-link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 5e763069f3..39c61d8d08 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -876,7 +876,8 @@ static int link_enter_enslave(Link *link) { link->state = LINK_STATE_ENSLAVING; - if (!link->network->bridge && !link->network->bond && !link->network->vlans) + if (!link->network->bridge && !link->network->bond && + hashmap_isempty(link->network->vlans)) return link_enslaved(link); if (link->network->bridge) { |