]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lmp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-lmp.c
index 6e3f9810fffe5d7b657714e0fca03228a357abef..6c0f671d33ddc8e80ab41eb806fe87217206de40 100644 (file)
@@ -440,6 +440,7 @@ lmp_print(netdissect_options *ndo,
         uint32_t i;
     } bw;
 
         uint32_t i;
     } bw;
 
+    ndo->ndo_protocol = "lmp";
     tptr=pptr;
     lmp_com_header = (const struct lmp_common_header *)pptr;
     ND_TCHECK_SIZE(lmp_com_header);
     tptr=pptr;
     lmp_com_header = (const struct lmp_common_header *)pptr;
     ND_TCHECK_SIZE(lmp_com_header);