ike-cfg: remove the to be obsoleted allow any parameter in get_my/other_addr

This commit is contained in:
Martin Willi
2013-09-04 10:38:37 +02:00
parent 62282ec0ed
commit beffdc6ab8
7 changed files with 18 additions and 33 deletions
+2 -10
View File
@@ -186,22 +186,14 @@ METHOD(ike_cfg_t, match_other, u_int,
}
METHOD(ike_cfg_t, get_my_addr, char*,
private_ike_cfg_t *this, bool *allow_any)
private_ike_cfg_t *this)
{
if (allow_any)
{
*allow_any = this->my_allow_any;
}
return this->me;
}
METHOD(ike_cfg_t, get_other_addr, char*,
private_ike_cfg_t *this, bool *allow_any)
private_ike_cfg_t *this)
{
if (allow_any)
{
*allow_any = this->other_allow_any;
}
return this->other;
}