aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-03-18 12:40:41 +0000
committerMartin Willi <martin@strongswan.org>2008-03-18 12:40:41 +0000
commit7162be5772e5eac162c33e35add99cfc5a6ab086 (patch)
tree145ac8eed766f4ad13be1309640b238b14b587ec /src
parent4bfa63ed25f28ef3d02e1249ce3a9109fd577c67 (diff)
downloadstrongswan-7162be5772e5eac162c33e35add99cfc5a6ab086.tar.bz2
strongswan-7162be5772e5eac162c33e35add99cfc5a6ab086.tar.xz
fixed ike_cfg lookup in stroke
Diffstat (limited to 'src')
-rwxr-xr-xsrc/charon/plugins/stroke/stroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/plugins/stroke/stroke.c b/src/charon/plugins/stroke/stroke.c
index c3ee3305d..6af5ebefc 100755
--- a/src/charon/plugins/stroke/stroke.c
+++ b/src/charon/plugins/stroke/stroke.c
@@ -1356,7 +1356,7 @@ static bool ike_filter(ike_data_t *data, peer_cfg_t **in, ike_cfg_t **out)
me = ike_cfg->get_my_host(ike_cfg);
other = ike_cfg->get_other_host(ike_cfg);
if ((!data->me || me->is_anyaddr(me) || me->ip_equals(me, data->me)) &&
- (!data->other || other->is_anyaddr(other) || other->ip_equals(other, data->me)))
+ (!data->other || other->is_anyaddr(other) || other->ip_equals(other, data->other)))
{
*out = ike_cfg;
return TRUE;