]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-bfd.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-bfd.c
index 558439f943ac3c3851bab33ee79674af962c1892..0d1732cd763a9b2d7bed7b43f179ed7ee7cfa3b5 100644 (file)
@@ -299,6 +299,7 @@ bfd_print(netdissect_options *ndo, const u_char *pptr,
         uint8_t version = 0;
         uint8_t flags;
 
+       ndo->ndo_protocol = "bfd";
         bfd_header = (const struct bfd_header_t *)pptr;
         version_diag = EXTRACT_U_1(bfd_header->version_diag);
         if (port == BFD_CONTROL_PORT) {