From d277456852cd41fa3c5ed259067e348d2d95be8b Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 20 Mar 2015 13:48:49 -0500 Subject: [PATCH] monitor: Always hexdump the raw PAE frame --- monitor/nlmon.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/monitor/nlmon.c b/monitor/nlmon.c index 5cda08ea..c9ce6b73 100644 --- a/monitor/nlmon.c +++ b/monitor/nlmon.c @@ -3426,13 +3426,12 @@ void nlmon_print_pae(struct nlmon *nlmon, const struct timeval *tv, if (size < 4) return; - ek = eapol_key_validate(data, size); - if (!ek) { - print_hexdump(0, data, size); - return; - } - print_attr(0, "EAPoL: len %u", size); + print_hexdump(0, data, size); + + ek = eapol_key_validate(data, size); + if (!ek) + return; switch (ek->protocol_version) { case 0x01: