]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-dtp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-dtp.c
index 47e8b1aa3cf8ae103e28cadfcbe83e05a77a2218..5e76e2a2a417f26efb48aa58614507ff68be1b97 100644 (file)
@@ -49,6 +49,7 @@ dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length)
     int type, len;
     const u_char *tptr;
 
+    ndo->ndo_protocol = "dtp";
     if (length < DTP_HEADER_LEN)
         goto trunc;