X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto-shell.c;h=27fe2652912273b614c97c67ef71f19b69da303e;hp=6bbfe10ea6696f13607c23ca731d36dd1b9b5dd6;hb=7335c3e19ea09674245dda3653d3f40705e68d6b;hpb=c439b52400978dd3799c66e1f632ee68d2c7c9eb diff --git a/proto-shell.c b/proto-shell.c index 6bbfe10..27fe265 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -158,6 +158,7 @@ proto_shell_handler(struct interface_proto_state *proto, action = "setup"; state->last_error = -1; proto_shell_clear_host_dep(state); + state->sm = S_SETUP; } else { if (state->sm == S_TEARDOWN) return 0;