X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-odp.c;h=5ed31a9e1bbde326c2b20fa621e11c6fd7a0c02d;hb=85b20fd6ee585f462e012fbcc7f966a81edab2ed;hp=dd80766f7c155249b36ca519cb8399bb32ef78da;hpb=2508ac16defd417b94fb69689b6b1da4fbc76282;p=sliver-openvswitch.git diff --git a/tests/test-odp.c b/tests/test-odp.c index dd80766f7..5ed31a9e1 100644 --- a/tests/test-odp.c +++ b/tests/test-odp.c @@ -70,7 +70,7 @@ parse_keys(void) /* Convert cls_rule back to odp_key. */ ofpbuf_uninit(&odp_key); ofpbuf_init(&odp_key, 0); - odp_flow_key_from_flow(&odp_key, &flow); + odp_flow_key_from_flow(&odp_key, &flow, flow.in_port); if (odp_key.size > ODPUTIL_FLOW_KEY_BYTES) { printf ("too long: %zu > %d\n",