diff options
Diffstat (limited to 'src/pluto/kernel.c')
-rw-r--r-- | src/pluto/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |