diff options
author | Jouni Malinen <j@w1.fi> | 2015-12-24 16:32:36 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-12-24 16:33:19 (GMT) |
commit | abbbaa49976c80fbd6d12ca46c26a5a50c45d6d3 (patch) | |
tree | b72eae8f516ac767bc1da8a5ef6600252b815547 /src/eap_peer/tncc.c | |
parent | d745f02e0e52c88caf31eaa18446c53d392372a0 (diff) | |
download | hostap-abbbaa49976c80fbd6d12ca46c26a5a50c45d6d3.zip hostap-abbbaa49976c80fbd6d12ca46c26a5a50c45d6d3.tar.gz hostap-abbbaa49976c80fbd6d12ca46c26a5a50c45d6d3.tar.bz2 |
TNC: Print received IF-TNCCS message as debug ASCII hexdump
This makes it easier to see what TNCC is processing.
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_peer/tncc.c')
-rw-r--r-- | src/eap_peer/tncc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eap_peer/tncc.c b/src/eap_peer/tncc.c index 7ca956e..9965513 100644 --- a/src/eap_peer/tncc.c +++ b/src/eap_peer/tncc.c @@ -694,6 +694,8 @@ enum tncc_process_res tncc_process_if_tnccs(struct tncc_data *tncc, enum tncc_process_res res = TNCCS_PROCESS_OK_NO_RECOMMENDATION; int recommendation_msg = 0; + wpa_hexdump_ascii(MSG_MSGDUMP, "TNC: Received IF-TNCCS message", + msg, len); buf = dup_binstr(msg, len); if (buf == NULL) return TNCCS_PROCESS_ERROR; |