]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-openflow.c
Default to first interface from pcap_findalldevs()
[tcpdump] / print-openflow.c
index 233efc99c53946505c04714d41c7c8d8524ef87d..edad214853d509ea0a1acac104cb75f7619c6d54 100644 (file)
@@ -34,7 +34,7 @@
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #include "netdissect.h"
 #include "extract.h"
@@ -42,7 +42,7 @@
 #include "oui.h"
 
 static const char tstr[] = " [|openflow]";
-static const char cstr[] = " (invalid)";
+static const char istr[] = " (invalid)";
 
 #define OF_VER_1_0    0x01
 
@@ -120,7 +120,7 @@ of_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep
        }
 
 invalid: /* fail current packet */
-       ND_PRINT((ndo, "%s", cstr));
+       ND_PRINT((ndo, "%s", istr));
        ND_TCHECK2(*cp, ep - cp);
        return ep;
 trunc: