mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-08 00:02:03 -04:00
Don't re-resolve addresses during initiate if they have already been set
This commit is contained in:
parent
aa3b53e716
commit
a994050e9c
@ -1077,7 +1077,11 @@ METHOD(ike_sa_t, initiate, status_t,
|
|||||||
{
|
{
|
||||||
if (this->state == IKE_CREATED)
|
if (this->state == IKE_CREATED)
|
||||||
{
|
{
|
||||||
resolve_hosts(this);
|
if (this->my_host->is_anyaddr(this->my_host) ||
|
||||||
|
this->other_host->is_anyaddr(this->other_host))
|
||||||
|
{
|
||||||
|
resolve_hosts(this);
|
||||||
|
}
|
||||||
|
|
||||||
if (this->other_host->is_anyaddr(this->other_host)
|
if (this->other_host->is_anyaddr(this->other_host)
|
||||||
#ifdef ME
|
#ifdef ME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user