From 9372f44c6730eb125916a1848675d33d8e14bc2a Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 1 Apr 2008 20:40:29 +0000 Subject: [PATCH] workaround for parsing IPv6 PSKs requires extract_last_token() --- src/charon/plugins/stroke/stroke_cred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charon/plugins/stroke/stroke_cred.c b/src/charon/plugins/stroke/stroke_cred.c index 036bd38..9a3d468 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; -- 2.7.4