proto-shell: fix renew_pending handling
[project/netifd.git] / proto-shell.c
index 5f2224b..77c9b87 100644 (file)
@@ -169,6 +169,7 @@ proto_shell_handler(struct interface_proto_state *proto,
                        return 0;
                }
 
+               state->renew_pending = false;
                action = "renew";
        } else {
                if (state->sm == S_TEARDOWN)