force unique connections for mediation connections
This commit is contained in:
1 parent
b250665f58
commit
73883705bd
1 file changed
+6
@@ -374,6 +374,12 @@ static peer_cfg_t *build_peer_cfg(private_stroke_config_t *this,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (msg->add_conn.ikeme.mediation)
|
||||
{
|
||||
/* force unique connections for mediation connections */
|
||||
msg->add_conn.unique = 1;
|
||||
}
|
||||
|
||||
if (msg->add_conn.ikeme.mediated_by)
|
||||
{
|
||||
mediated_by = charon->backends->get_peer_cfg_by_name(charon->backends,
|
||||
|
||||
Reference in new issue
Block a user