From 555a8ca238cbdce8f90219cc2334da40c2b9c4cc Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 5 Apr 2011 20:53:46 +0200 Subject: [PATCH] added EAP identifier to debug output --- src/libcharon/plugins/eap_ttls/eap_ttls_peer.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c b/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c index 96bd5ac7d..0ee6beaf9 100644 --- a/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c +++ b/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c @@ -167,13 +167,14 @@ METHOD(tls_application_t, process, status_t, { if (received_vendor) { - DBG1(DBG_IKE, "server requested vendor specific EAP method %d-%d", - received_type, received_vendor); + DBG1(DBG_IKE, "server requested vendor specific EAP method %d-%d " + "(id: %u)", received_type, received_vendor, + in->get_identifier(in)); } else { - DBG1(DBG_IKE, "server requested %N authentication", - eap_type_names, received_type); + DBG1(DBG_IKE, "server requested %N authentication (id: %u)", + eap_type_names, received_type, in->get_identifier(in)); } this->method = charon->eap->create_instance(charon->eap, received_type, received_vendor,