fixed reauthentication time in statusall
authorMartin Willi <martin@strongswan.org>
Tue, 28 Oct 2008 09:41:33 +0000 (09:41 -0000)
committerMartin Willi <martin@strongswan.org>
Tue, 28 Oct 2008 09:41:33 +0000 (09:41 -0000)
src/charon/plugins/stroke/stroke_list.c

index 017f3ae..acc48a4 100644 (file)
@@ -102,7 +102,7 @@ static void log_ike_sa(FILE *out, ike_sa_t *ike_sa, bool all)
                        }
                        if (reauth)
                        {
-                               reauth -= reauth;
+                               reauth -= now;
                                fprintf(out, ", %N reauthentication in %V", auth_class_names,
                                                get_auth_class(ike_sa->get_peer_cfg(ike_sa)), &reauth);
                        }