]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-otv.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-otv.c
index 88c8cacc1c7142f9c24bef6d00289e4796d41f66..beda42e71a89447e6c58ebec0ba49df8124ef586 100644 (file)
@@ -45,6 +45,7 @@ otv_print(netdissect_options *ndo, const u_char *bp, u_int len)
 {
     uint8_t flags;
 
+    ndo->ndo_protocol = "otv";
     ND_PRINT("OTV, ");
     if (len < OTV_HDR_LEN)
         goto trunc;