From 4b06f9f2659adb0766690d955bcb63cab0ac4c9e Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 21 Apr 2011 21:04:11 +0200 Subject: [PATCH] debug type is EAP_TLS --- src/libtls/tls_eap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libtls/tls_eap.c b/src/libtls/tls_eap.c index bb3cd4976..685904fdf 100644 --- a/src/libtls/tls_eap.c +++ b/src/libtls/tls_eap.c @@ -137,9 +137,9 @@ METHOD(tls_eap_t, initiate, status_t, pkt.identifier = this->identifier; *out = chunk_clone(chunk_from_thing(pkt)); - DBG2(DBG_IKE, "sending %N start packet (%u bytes)", + DBG2(DBG_TLS, "sending %N start packet (%u bytes)", eap_type_names, this->type, sizeof(eap_tls_packet_t)); - DBG3(DBG_IKE, "%B", out); + DBG3(DBG_TLS, "%B", out); return NEED_MORE; } return FAILED; @@ -321,7 +321,7 @@ METHOD(tls_eap_t, process, status_t, if (++this->processed > this->max_msg_count) { - DBG1(DBG_IKE, "%N packet count exceeded (%d > %d)", + DBG1(DBG_TLS, "%N packet count exceeded (%d > %d)", eap_type_names, this->type, this->processed, this->max_msg_count); return FAILED; @@ -330,7 +330,7 @@ METHOD(tls_eap_t, process, status_t, pkt = (eap_tls_packet_t*)in.ptr; if (in.len < sizeof(eap_tls_packet_t) || untoh16(&pkt->length) != in.len) { - DBG1(DBG_IKE, "invalid %N packet length", eap_type_names, this->type); + DBG1(DBG_TLS, "invalid %N packet length", eap_type_names, this->type); return FAILED; }