]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-stp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-stp.c
index f0fecaf748e683b69873f8055eb81d28e0ea4f76..eb5c90f172b44dbb1d212c80e08ab6b3e708613e 100644 (file)
@@ -412,6 +412,7 @@ stp_print(netdissect_options *ndo, const u_char *p, u_int length)
     u_int                  mstp_len;
     u_int                  spb_len;
 
+    ndo->ndo_protocol = "stp";
     stp_bpdu = (const struct stp_bpdu_*)p;
 
     /* Minimum STP Frame size. */