mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
networkd: bridge - fix state machine
We were entering BRIDGE_STATE_CREATED rather than BRIDGE_STATE_READY.
This commit is contained in:
parent
ef1ba6065c
commit
d638dee035
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user