Show EAP/XAuth identity in "ipsec status", if available
authorMartin Willi <martin@revosec.ch>
Thu, 14 Jun 2012 13:07:44 +0000 (15:07 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 25 Jun 2012 08:18:35 +0000 (10:18 +0200)
src/libcharon/plugins/stroke/stroke_list.c

index 37970f6..fecb56a 100644 (file)
@@ -115,7 +115,7 @@ static void log_ike_sa(FILE *out, ike_sa_t *ike_sa, bool all)
 
        fprintf(out, ", %H[%Y]...%H[%Y]\n",
                        ike_sa->get_my_host(ike_sa), ike_sa->get_my_id(ike_sa),
-                       ike_sa->get_other_host(ike_sa), ike_sa->get_other_id(ike_sa));
+                       ike_sa->get_other_host(ike_sa), ike_sa->get_other_eap_id(ike_sa));
 
        if (all)
        {