]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-openflow.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-openflow.c
index ee972cfe6b8de3d4101efab5420fb1c58627dbde..a0cabbe67b5be0ccfac8c363d7c4f5bdbda4b61c 100644 (file)
@@ -134,6 +134,7 @@ trunc:
 void
 openflow_print(netdissect_options *ndo, const u_char *cp, const u_int len _U_)
 {
+       ndo->ndo_protocol = "openflow";
        ND_PRINT(": OpenFlow");
        while (cp < ndo->ndo_snapend)
                cp = of_header_body_print(ndo, cp, ndo->ndo_snapend);