schedule_job uses seconds to support time values larger than 49 days
[strongswan.git] / src / charon / sa / tasks / child_rekey.c
index 44a2257..14a604d 100644 (file)
@@ -269,7 +269,7 @@ static status_t process_i(private_child_rekey_t *this, message_t *message)
                        DBG1(DBG_IKE, "CHILD_SA rekeying failed, "
                                                                "trying again in %d seconds", retry);
                        this->child_sa->set_state(this->child_sa, CHILD_INSTALLED);
-                       charon->scheduler->schedule_job(charon->scheduler, job, retry * 1000);
+                       charon->scheduler->schedule_job(charon->scheduler, job, retry);
                }
                return SUCCESS;
        }