#include "netdissect.h"
#include "extract.h"
-static const char tstr[] = " [|udld]";
#define UDLD_HEADER_LEN 4
#define UDLD_DEVICE_ID_TLV 0x0001
#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;
ND_PRINT("%s", istr);
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}