From: Martin Willi Date: Wed, 24 Feb 2010 10:07:47 +0000 (+0000) Subject: Include ports in ike_cfg equality check X-Git-Tag: 4.4.0~280 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af2c43fdc7a977846290e2132fcea1926b0332cf;p=thirdparty%2Fstrongswan.git Include ports in ike_cfg equality check --- diff --git a/src/charon/config/ike_cfg.c b/src/charon/config/ike_cfg.c index b486d576fc..89dcd80227 100644 --- a/src/charon/config/ike_cfg.c +++ b/src/charon/config/ike_cfg.c @@ -231,7 +231,9 @@ METHOD(ike_cfg_t, equals, bool, this->certreq == other->certreq && this->force_encap == other->force_encap && streq(this->me, other->me) && - streq(this->other, other->other)); + streq(this->other, other->other) && + this->my_port == other->my_port && + this->other_port == other->other_port); } METHOD(ike_cfg_t, get_ref, ike_cfg_t*,