parent
34e402ef8d
commit
2d38a03d77
|
@ -1030,7 +1030,8 @@ METHOD(task_t, process_r, status_t,
|
|||
}
|
||||
tsi->destroy_offset(tsi, offsetof(traffic_selector_t, destroy));
|
||||
tsr->destroy_offset(tsr, offsetof(traffic_selector_t, destroy));
|
||||
if (!this->config || !this->tsi || !this->tsr)
|
||||
if (!this->config || !this->tsi || !this->tsr ||
|
||||
this->mode != this->config->get_mode(this->config))
|
||||
{
|
||||
DBG1(DBG_IKE, "no matching CHILD_SA config found");
|
||||
return send_notify(this, INVALID_ID_INFORMATION);
|
||||
|
|
Loading…
Reference in New Issue