ofproto-dpif: Refresh stats before ovs-appctl dpif/dump-flows.
authorEthan Jackson <ethan@nicira.com>
Tue, 15 Jan 2013 02:02:27 +0000 (18:02 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 24 Jan 2013 20:34:07 +0000 (12:34 -0800)
commitaf37354d92f45f1f276bb0bbf754b2851e29d14b
treef815ce7a80ac7c074aeaffbc317ed7affccde0c6
parent2cc3c58ee8db0dba3f01ba39f573b6e62b883247
ofproto-dpif: Refresh stats before ovs-appctl dpif/dump-flows.

As a matter of convenience, this patch refreshes the statistics
when ovs-appctl dpif/dump-flows is called.  Hopefully this will
prevent users from being confused because statistics they were
expecting to see haven't made it from the datapath into the switch
yet.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c