#include "extract.h"
#include "openflow.h"
+static const char tstr[] = " [|openflow]";
+static const char cstr[] = " (corrupt)";
+
#define OF_VER_1_0 0x01
static void
}
corrupt: /* fail current packet */
- printf(" (corrupt)");
+ printf("%s", cstr);
TCHECK2(*cp, ep - cp);
return ep;
trunc:
- printf(" [|openflow]");
+ printf("%s", tstr);
return ep;
}