diff options
author | Martin Willi <martin@strongswan.org> | 2008-12-09 14:45:56 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-12-09 14:45:56 +0000 |
commit | 6144daba9da24e1b25592360098b7a2de913cff5 (patch) | |
tree | 70191671943b7c8dfb5949f317eb9cf8e16a2870 /src | |
parent | 7023d49ee166b17c7bff81ac4673e28a8f422a5d (diff) | |
download | strongswan-6144daba9da24e1b25592360098b7a2de913cff5.tar.bz2 strongswan-6144daba9da24e1b25592360098b7a2de913cff5.tar.xz |
fixed load-tester shared key lookup
Diffstat (limited to 'src')
-rw-r--r-- | src/charon/plugins/load_tester/load_tester_creds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/plugins/load_tester/load_tester_creds.c b/src/charon/plugins/load_tester/load_tester_creds.c index a2087269d..476a90b9f 100644 --- a/src/charon/plugins/load_tester/load_tester_creds.c +++ b/src/charon/plugins/load_tester/load_tester_creds.c @@ -280,11 +280,11 @@ static enumerator_t* create_shared_enumerator(private_load_tester_creds_t *this, { return NULL; } - if (me && !this->id->matches(this->id, me)) + if (me && !me->matches(me, this->id)) { return NULL; } - if (other && !this->id->matches(this->id, other)) + if (other && !other->matches(other, this->id)) { return NULL; } |