]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-udld.c
Fixed some warnings, added print-zep.c to CMakeLists
[tcpdump] / print-udld.c
index b97e0b3a68d792b0f3f53d865a6001372b180113..e17e7128ab3e4b2718e718a1bc1fce4fdad09fab 100644 (file)
@@ -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);