Bug #10062.
Reported-by: James Schmidt <jschmidt@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
if (retval == EAGAIN) {
break;
}
- msg_type = ((const struct ofp_header *) b->data)->type;
-
run(retval, "vconn_recv");
+
if (timestamp) {
time_t now = time_wall();
char s[32];
strftime(s, sizeof s, "%Y-%m-%d %H:%M:%S: ", localtime(&now));
fputs(s, stderr);
}
+
+ msg_type = ((const struct ofp_header *) b->data)->type;
ofp_print(stderr, b->data, b->size, verbosity + 2);
ofpbuf_delete(b);