From a44bb9345f0482b3dace19a27ee40320ddadc75f Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 14 Apr 2009 10:34:24 +0000 Subject: merged multi-auth branch back into trunk --- src/pluto/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pluto/kernel.c') diff --git a/src/pluto/kernel.c b/src/pluto/kernel.c index 09b4bbaaf..98841bcee 100644 --- a/src/pluto/kernel.c +++ b/src/pluto/kernel.c @@ -2955,7 +2955,7 @@ was_eroute_idle(struct state *st, time_t idle_max, time_t *idle_time) break; } - if (strncmp(line, text_said, strlen(text_said)) == 0) + if (strneq(line, text_said, strlen(text_said))) { /* we found a match, now try to find idle= */ char *p = strstr(line, idle); -- cgit v1.2.3