Using the correct type for ME_ENDPOINT payloads in connectivity checks.

This commit is contained in:
Tobias Brunner 2009-09-24 11:28:43 +02:00
parent 17859fe6cf
commit 6e6975395e
1 changed files with 2 additions and 1 deletions

View 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;