fixed peer config equality check

This commit is contained in:
Martin Willi 2008-04-18 10:30:52 +00:00
parent ab7ed97c93
commit 4075225466
1 changed files with 2 additions and 1 deletions

View File

@ -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->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)
#ifdef ME
&& this->mediation == other->mediation &&