X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/51e180c4fb05a88ad6687a23cc983955cd9ea431..59ddbc3fd41600c293c05cd75b3bdc80ff8eb18f:/print-eap.c diff --git a/print-eap.c b/print-eap.c index 2ef9de5e..b0542ad9 100644 --- a/print-eap.c +++ b/print-eap.c @@ -178,14 +178,14 @@ eap_print(netdissect_options *ndo, case EAP_TYPE_IDENTITY: if (len - 5 > 0) { ND_PRINT(", Identity: "); - (void)nd_printzp(ndo, cp + 5, len - 5, NULL); + nd_printjnp(ndo, cp + 5, len - 5); } break; case EAP_TYPE_NOTIFICATION: if (len - 5 > 0) { ND_PRINT(", Notification: "); - (void)nd_printzp(ndo, cp + 5, len - 5, NULL); + nd_printjnp(ndo, cp + 5, len - 5); } break; @@ -207,7 +207,6 @@ eap_print(netdissect_options *ndo, case EAP_TYPE_TTLS: case EAP_TYPE_TLS: - ND_TCHECK_1(cp + 5); if (subtype == EAP_TYPE_TTLS) ND_PRINT(" TTLSv%u", EAP_TTLS_VERSION(GET_U_1((cp + 5)))); @@ -255,7 +254,6 @@ eap_print(netdissect_options *ndo, return; trunc: nd_print_trunc(ndo); - return; } void