diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-04-01 20:40:29 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-04-01 20:40:29 +0000 |
commit | 9372f44c6730eb125916a1848675d33d8e14bc2a (patch) | |
tree | 3b134521f12a8a318d615a96020ad76b130b1eba /src | |
parent | 080555e76a8492131a302cb8e60a4ba4f17c155a (diff) | |
download | strongswan-9372f44c6730eb125916a1848675d33d8e14bc2a.tar.bz2 strongswan-9372f44c6730eb125916a1848675d33d8e14bc2a.tar.xz |
workaround for parsing IPv6 PSKs requires extract_last_token()
Diffstat (limited to 'src')
-rw-r--r-- | src/charon/plugins/stroke/stroke_cred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/plugins/stroke/stroke_cred.c b/src/charon/plugins/stroke/stroke_cred.c index 036bd388d..9a3d46871 100644 --- a/src/charon/plugins/stroke/stroke_cred.c +++ b/src/charon/plugins/stroke/stroke_cred.c @@ -635,7 +635,7 @@ static void load_secrets(private_stroke_cred_t *this) { continue; } - if (!extract_token(&ids, ':', &line)) + if (!extract_last_token(&ids, ':', &line)) { DBG1(DBG_CFG, "line %d: missing ':' separator", line_nr); goto error; |