X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-classifier.c;h=3518db0e66a9dcc267f837c631da4af601568814;hb=a4fdb0f3bdbfff1924afefd19239260ed429c193;hp=10b196757176b7be6c4074c72980617c0f9bceb9;hpb=eadd16449c6e5292603cf009d29ab0e249979717;p=sliver-openvswitch.git diff --git a/tests/test-classifier.c b/tests/test-classifier.c index 10b196757..3518db0e6 100644 --- a/tests/test-classifier.c +++ b/tests/test-classifier.c @@ -1203,7 +1203,7 @@ test_miniflow(int argc OVS_UNUSED, char *argv[] OVS_UNUSED) /* Check that the flow equals its miniflow. */ assert(miniflow_get_vid(&miniflow) == vlan_tci_to_vid(flow.vlan_tci)); for (i = 0; i < FLOW_U32S; i++) { - assert(miniflow_get(&miniflow, i) == flow_u32[i]); + assert(miniflow_get_u32(&miniflow, i * 4) == flow_u32[i]); } /* Check that the miniflow equals itself. */