schedule_job uses seconds to support time values larger than 49 days
[strongswan.git] / src / charon / plugins / kernel_netlink / kernel_netlink_net.c
index d8b05e1..f18a535 100644 (file)
@@ -219,7 +219,7 @@ static void fire_roam_job(private_kernel_netlink_net_t *this, bool address)
                                now.tv_usec -= 1000000;
                        }
                        this->last_roam = now;
-                       charon->scheduler->schedule_job(charon->scheduler,
+                       charon->scheduler->schedule_job_ms(charon->scheduler,
                                        (job_t*)roam_job_create(address), ROAM_DELAY);
                }
        }