fixed task manager message id bug for cookies
authorMartin Willi <martin@strongswan.org>
Thu, 29 Mar 2007 11:08:30 +0000 (11:08 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 29 Mar 2007 11:08:30 +0000 (11:08 -0000)
src/charon/sa/task_manager.c

index b129f12..8443007 100644 (file)
@@ -796,7 +796,7 @@ static void reset(private_task_manager_t *this)
        this->responding.packet = NULL;
        this->initiating.packet = NULL;
        this->responding.mid = 0;
-       this->initiating.mid = 0;
+       this->initiating.mid = -1;
        this->initiating.type = EXCHANGE_TYPE_UNDEFINED;
        
        /* reset active tasks */