Added a log message when roam jobs get created.
authorTobias Brunner <tobias@strongswan.org>
Thu, 21 Jul 2011 17:44:42 +0000 (19:44 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 21 Jul 2011 17:44:42 +0000 (19:44 +0200)
src/libcharon/kernel/kernel_handler.c

index d9e39fe..51fccb1 100644 (file)
@@ -125,6 +125,8 @@ METHOD(kernel_listener_t, roam, bool,
           private_kernel_handler_t *this, bool address)
 {
        job_t *job;
+       DBG2(DBG_KNL, "creating roam job %s", address ? "due to address/link change"
+                                                                                                 : "due to route change");
        job = (job_t*)roam_job_create(address);
        lib->processor->queue_job(lib->processor, job);
        return TRUE;