ike: Store unhandled attributes on IKE_SA as well

This commit is contained in:
Martin Willi
2014-06-16 15:59:16 +02:00
parent b16e177e06
commit 5ae3221075
4 changed files with 12 additions and 12 deletions
+2 -5
View File
@@ -139,11 +139,8 @@ static void handle_attribute(private_mode_config_t *this,
handler = hydra->attributes->handle(hydra->attributes,
this->ike_sa->get_other_id(this->ike_sa), handler,
ca->get_type(ca), ca->get_chunk(ca));
if (handler)
{
this->ike_sa->add_configuration_attribute(this->ike_sa,
handler, ca->get_type(ca), ca->get_chunk(ca));
}
this->ike_sa->add_configuration_attribute(this->ike_sa,
handler, ca->get_type(ca), ca->get_chunk(ca));
}
/**