X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto-shell.c;h=4cff09134f3a610077cd1e3cc88774f039b99b8c;hp=aba7298de23c5dd33b95a223125980223c745b2b;hb=f4508267c9b5524c1ba9dffde16b1ab1dcd1f857;hpb=b32cffd4f0a2b904a1e3c38e5141100970f89a65 diff --git a/proto-shell.c b/proto-shell.c index aba7298..4cff091 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -338,6 +338,7 @@ proto_shell_update_link(struct proto_shell_state *state, struct blob_attr *data, interface_update_complete(state->proto.iface); state->proto.proto_event(&state->proto, IFPEV_UP); + state->sm = S_IDLE; if ((cur = tb[NOTIFY_DATA])) proto_shell_parse_data(state->proto.iface, cur);