Added support for IKEv1 IPComp proposals in SA payload.
This commit is contained in:
@@ -241,7 +241,7 @@ METHOD(task_t, build_i, status_t,
|
||||
this->lifetime += this->peer_cfg->get_over_time(this->peer_cfg);
|
||||
proposals = this->ike_cfg->get_proposals(this->ike_cfg);
|
||||
sa_payload = sa_payload_create_from_proposals_v1(proposals,
|
||||
this->lifetime, 0, this->method, MODE_NONE, FALSE);
|
||||
this->lifetime, 0, this->method, MODE_NONE, FALSE, 0);
|
||||
proposals->destroy_offset(proposals, offsetof(proposal_t, destroy));
|
||||
|
||||
message->add_payload(message, &sa_payload->payload_interface);
|
||||
@@ -455,7 +455,7 @@ METHOD(task_t, build_r, status_t,
|
||||
sa_payload_t *sa_payload;
|
||||
|
||||
sa_payload = sa_payload_create_from_proposal_v1(this->proposal,
|
||||
this->lifetime, 0, this->method, MODE_NONE, FALSE);
|
||||
this->lifetime, 0, this->method, MODE_NONE, FALSE, 0);
|
||||
message->add_payload(message, &sa_payload->payload_interface);
|
||||
|
||||
return NEED_MORE;
|
||||
|
||||
Reference in New Issue
Block a user