X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ba8936b39b0ce2ff02f3aeb307df4c27657652d8..8030a66cdcbf81c88cbb7c38ef7a334e9f1941cd:/print-udld.c diff --git a/print-udld.c b/print-udld.c index b97e0b3a..e17e7128 100644 --- a/print-udld.c +++ b/print-udld.c @@ -93,7 +93,7 @@ static const struct tok udld_flags_values[] = { #define UDLD_EXTRACT_OPCODE(x) ((x)&0x1f) void -udld_print (netdissect_options *ndo, const u_char *pptr, u_int length) +udld_print(netdissect_options *ndo, const u_char *pptr, u_int length) { int code, type, len; const u_char *tptr; @@ -184,7 +184,7 @@ udld_print (netdissect_options *ndo, const u_char *pptr, u_int length) return; invalid: - ND_PRINT("%s", istr); + nd_print_invalid(ndo); return; trunc: nd_print_trunc(ndo);