fixed peer config equality check
This commit is contained in:
@@ -471,7 +471,8 @@ static bool equals(private_peer_cfg_t *this, private_peer_cfg_t *other)
|
|||||||
(this->virtual_ip == other->virtual_ip ||
|
(this->virtual_ip == other->virtual_ip ||
|
||||||
(this->virtual_ip && other->virtual_ip &&
|
(this->virtual_ip && other->virtual_ip &&
|
||||||
this->virtual_ip->equals(this->virtual_ip, other->virtual_ip))) &&
|
this->virtual_ip->equals(this->virtual_ip, other->virtual_ip))) &&
|
||||||
(this->pool == other->pool || streq(this->pool, other->pool)) &&
|
(this->pool == other->pool ||
|
||||||
|
(this->pool && other->pool && streq(this->pool, other->pool))) &&
|
||||||
this->auth->equals(this->auth, other->auth)
|
this->auth->equals(this->auth, other->auth)
|
||||||
#ifdef ME
|
#ifdef ME
|
||||||
&& this->mediation == other->mediation &&
|
&& this->mediation == other->mediation &&
|
||||||
|
|||||||
Reference in New Issue
Block a user