2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

meta-flow: Fix mf_get_value() retrieval of register values.

This commit is contained in:
Ben Pfaff
2011-10-11 06:58:49 -07:00
parent 86dc65011b
commit 2f98b0b7e7

View File

@@ -716,7 +716,7 @@ mf_get_value(const struct mf_field *mf, const struct flow *flow,
#if FLOW_N_REGS > 5
#error
#endif
value->be32 = htonl(flow->regs[0]);
value->be32 = htonl(flow->regs[mf->id - MFF_REG0]);
break;
case MFF_ETH_SRC: