]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-zephyr.c
show ICMPv6 echo request ID
[tcpdump] / print-zephyr.c
index eddbe8598fb43895254712e33788b88fc9fc6893..bce7394b26ef0eb18e28306ae4b5a2be558b2d92 100644 (file)
@@ -169,6 +169,7 @@ zephyr_print(netdissect_options *ndo, const u_char *cp, int length)
     int lose = 0;
     int truncated = 0;
 
+    ndo->ndo_protocol = "zephyr";
     /* squelch compiler warnings */
 
 #define PARSE_STRING                                           \
@@ -342,6 +343,6 @@ zephyr_print(netdissect_options *ndo, const u_char *cp, int length)
     return;
 
 trunc:
-    ND_PRINT(" [|zephyr] (%d)", length);
+    nd_print_trunc(ndo);
     return;
 }