ovs-ofctl: Fix replace-flows.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 19 Oct 2015 22:00:39 +0000 (15:00 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 19 Oct 2015 22:00:39 +0000 (15:00 -0700)
commit4b69263d2a4a2144aebb52c21305363d0edd2ee5
tree74294e92ec1408f46e65ec3096a3cf3ee6e81151
parent86e9804898a6cb373553d36940effead38183cdd
ovs-ofctl: Fix replace-flows.

The replace-flows test cases tested for incorrect
behavior due to the missing initialization of the out_group member of
struct ofputil_flow_stats_request.  This patch fixes this by properly
initializing out_group to OFPG_ANY.

Note that replace-flows still does not support multiple tables, but
that will be fixed in a later patch in the series.

Reported-by: YAMAMOTO Takashi <yamamoto@midokura.com>
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@midokura.com>
tests/ovs-ofctl.at
utilities/ovs-ofctl.c