]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-openflow.c
Don't print timestamps to a buffer and then print the buffer.
[tcpdump] / print-openflow.c
index a0cabbe67b5be0ccfac8c363d7c4f5bdbda4b61c..f3c1a8329d992def11c57c4a637e96ecbf815ce8 100644 (file)
@@ -43,7 +43,6 @@
 #include "openflow.h"
 #include "oui.h"
 
-static const char tstr[] = " [|openflow]";
 
 #define OF_VER_1_0    0x01
 
@@ -125,7 +124,7 @@ invalid: /* fail current packet */
        ND_TCHECK_LEN(cp, ep - cp);
        return ep;
 trunc:
-       ND_PRINT("%s", tstr);
+       nd_print_trunc(ndo);
        return ep;
 }