git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-util: Use correct cookie value in "packet_in"s when no flow involved.
[sliver-openvswitch.git]
/
lib
/
ofp-print.c
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index
9a84645
..
6ff6690
100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-105,7
+105,7
@@
ofp_print_packet_in(struct ds *string, const struct ofp_header *oh,
ds_put_format(string, " table_id=%"PRIu8, pin.table_id);
}
- if (pin.cookie) {
+ if (pin.cookie
!= OVS_BE64_MAX
) {
ds_put_format(string, " cookie=0x%"PRIx64, ntohll(pin.cookie));
}