diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkd-bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-bridge.c b/src/network/networkd-bridge.c index ed0d692992..f110b8aa12 100644 --- a/src/network/networkd-bridge.c +++ b/src/network/networkd-bridge.c @@ -139,8 +139,8 @@ static int bridge_create_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userda if (bridge->link) bridge_enter_ready(bridge); - - bridge->state = BRIDGE_STATE_CREATED; + else + bridge->state = BRIDGE_STATE_CREATED; return 1; } |