]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Using the correct type for ME_ENDPOINT payloads in connectivity checks.
authorTobias Brunner <tobias@strongswan.org>
Thu, 24 Sep 2009 09:28:43 +0000 (11:28 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 24 Sep 2009 09:29:34 +0000 (11:29 +0200)
src/charon/sa/connect_manager.c

index dac12d8707850ae3b7892244c49cfce29939a48c..fe95c037018e2d1ac6bcea2e43a88638301df04d 100644 (file)
@@ -1145,7 +1145,8 @@ static job_requeue_t sender(callback_data_t *data)
        check->src = pair->local->clone(pair->local);
        check->dst = pair->remote->clone(pair->remote);
        check->connect_id = chunk_clone(checklist->connect_id);
-       check->endpoint = endpoint_notify_create();
+       check->endpoint = endpoint_notify_create_from_host(PEER_REFLEXIVE, NULL,
+                                                                                                          NULL);
 
        pair->state = CHECK_IN_PROGRESS;