From 0a37839c03307cc4cc726d27a7348c05d469c5eb Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Mon, 23 Sep 2013 22:58:46 -0700 Subject: ovs-dpctl, ofproto/trace: Show and handle the in_port name in flows. With this commit, whenever the verbosity is enabled with '-m' option, the ovs-dpctl dump-flows command will display the flows with in_port field showing the name instead of a port number. Conversely, one can also use a name in the in_port field with del-flow, add-flow and mod-flow commands of ovs-dpctl. One should also be able to use the port name when supplying the datapath flow as an input to ofproto/trace command. Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- tests/test-odp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-odp.c') diff --git a/tests/test-odp.c b/tests/test-odp.c index 45605e4b9..183a3b3cd 100644 --- a/tests/test-odp.c +++ b/tests/test-odp.c @@ -86,7 +86,7 @@ parse_keys(bool wc_keys) ds_init(&out); if (wc_keys) { odp_flow_format(odp_key.data, odp_key.size, - odp_mask.data, odp_mask.size, &out, false); + odp_mask.data, odp_mask.size, NULL, &out, false); } else { odp_flow_key_format(odp_key.data, odp_key.size, &out); } -- cgit v1.2.1