X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/4708c526a30c1e5c1d574b8f6c62c0af569b7a16..51670d19496d42a99ced7358dab6fbdce94b7708:/print-eap.c diff --git a/print-eap.c b/print-eap.c index 7b58851b..fba40e27 100644 --- a/print-eap.c +++ b/print-eap.c @@ -209,14 +209,14 @@ eap_print(netdissect_options *ndo _U_, case EAP_TYPE_IDENTITY: if (len - 5 > 0) { printf(", Identity: "); - safeputs((const char *)tptr+5, len-5); + safeputs(gndo, tptr + 5, len - 5); } break; case EAP_TYPE_NOTIFICATION: if (len - 5 > 0) { printf(", Notification: "); - safeputs((const char *)tptr+5, len-5); + safeputs(gndo, tptr + 5, len - 5); } break;