*/
bool initiator;
+ /**
+ * Did we request a virtual IP?
+ */
+ bool vip_requested;
+
/**
* Received list of virtual IPs, host_t*
*/
/* fall */
case INTERNAL_IP6_ADDRESS:
{
+ if (this->initiator && !this->vip_requested)
+ {
+ handle_attribute(this, ca);
+ return;
+ }
+
addr = ca->get_chunk(ca);
if (addr.len == 0)
{
cp->add_attribute(cp, build_vip(host));
}
enumerator->destroy(enumerator);
+ this->vip_requested = TRUE;
}
enumerator = charon->attributes->create_initiator_enumerator(