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
ofpbuf: New functions ofpbuf_use_stub() and ofpbuf_get_uninit_pointer().
[sliver-openvswitch.git]
/
lib
/
dpif.c
diff --git
a/lib/dpif.c
b/lib/dpif.c
index
35df1e5
..
e000e13
100644
(file)
--- a/
lib/dpif.c
+++ b/
lib/dpif.c
@@
-697,7
+697,10
@@
dpif_flow_stats_format(const struct dpif_flow_stats *stats, struct ds *s)
} else {
ds_put_format(s, "never");
}
- /* XXX tcp_flags? */
+ if (stats->tcp_flags) {
+ ds_put_cstr(s, ", flags:");
+ packet_format_tcp_flags(s, stats->tcp_flags);
+ }
}
/* Deletes all flows from 'dpif'. Returns 0 if successful, otherwise a