git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b0087
)
ofp-print: Update a printf format for the recent pin.total_len change.
author
YAMAMOTO Takashi
<yamamoto@valinux.co.jp>
Thu, 24 Oct 2013 02:58:54 +0000
(11:58 +0900)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 24 Oct 2013 04:25:51 +0000
(21:25 -0700)
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index
6ff6690
..
e4d0303
100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-109,7
+109,7
@@
ofp_print_packet_in(struct ds *string, const struct ofp_header *oh,
ds_put_format(string, " cookie=0x%"PRIx64, ntohll(pin.cookie));
}
- ds_put_format(string, " total_len=%
"PRIu16"
in_port=", pin.total_len);
+ ds_put_format(string, " total_len=%
zu
in_port=", pin.total_len);
ofputil_format_port(pin.fmd.in_port, string);
if (pin.fmd.tun_id != htonll(0)) {