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 5f2224b3d11309d283adabb60b6100ada588fa0c..77c9b87ad4059d927fa835cce1d2ee4288437add 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)