Yikes.  Looks good.

--Justin


On Oct 11, 2011, at 7:00 AM, Ben Pfaff wrote:

> ---
> lib/meta-flow.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/meta-flow.c b/lib/meta-flow.c
> index 7154426..ccf2f8e 100644
> --- a/lib/meta-flow.c
> +++ b/lib/meta-flow.c
> @@ -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:
> -- 
> 1.7.2.5
> 
> _______________________________________________
> dev mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to