1
1
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:
Tom Gundersen 2013-12-17 19:56:09 +01:00
parent ef1ba6065c
commit d638dee035

View File

@ -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;
}