proto-shell: fix renew_pending handling
authorFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jul 2014 14:35:49 +0000 (16:35 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jul 2014 14:35:49 +0000 (16:35 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
proto-shell.c

index 5f2224b..77c9b87 100644 (file)
@@ -169,6 +169,7 @@ proto_shell_handler(struct interface_proto_state *proto,
                        return 0;
                }
 
                        return 0;
                }
 
+               state->renew_pending = false;
                action = "renew";
        } else {
                if (state->sm == S_TEARDOWN)
                action = "renew";
        } else {
                if (state->sm == S_TEARDOWN)