strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed1bb4
)
Include ports in ike_cfg equality check
author
Martin Willi
<martin@revosec.ch>
Wed, 24 Feb 2010 10:07:47 +0000
(10:07 +0000)
committer
Martin Willi
<martin@revosec.ch>
Fri, 26 Feb 2010 10:44:34 +0000
(11:44 +0100)
src/charon/config/ike_cfg.c
patch
|
blob
|
history
diff --git
a/src/charon/config/ike_cfg.c
b/src/charon/config/ike_cfg.c
index
b486d57
..
89dcd80
100644
(file)
--- 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*,