diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-04-02 15:06:56 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-04-03 09:46:41 +0200 |
commit | 23f34f6ed50466b11e4932d1f5ec2e68fe8c1b8b (patch) | |
tree | d9e4671075ffafffa528233182581a823c9c61ed | |
parent | adc11574876dc486fc3aa7d6bbd50405c50a96b8 (diff) | |
download | strongswan-5.1.3rc1.tar.bz2 strongswan-5.1.3rc1.tar.xz |
ike-cfg: Properly compare IKE proposals for equality5.1.3rc1
-rw-r--r-- | src/libcharon/config/ike_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/config/ike_cfg.c b/src/libcharon/config/ike_cfg.c index c74daa0cc..e08bb3f67 100644 --- a/src/libcharon/config/ike_cfg.c +++ b/src/libcharon/config/ike_cfg.c @@ -385,7 +385,7 @@ METHOD(ike_cfg_t, equals, bool, return FALSE; } e1 = this->proposals->create_enumerator(this->proposals); - e2 = this->proposals->create_enumerator(this->proposals); + e2 = other->proposals->create_enumerator(other->proposals); while (e1->enumerate(e1, &p1) && e2->enumerate(e2, &p2)) { if (!p1->equals(p1, p2)) |