From: Ben Pfaff Date: Fri, 27 Apr 2012 15:45:10 +0000 (-0700) Subject: meta-flow: Correctly set destination MAC in mf_set_flow_value(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5a36e3878937a489458f7a0ff42769e826ae88b;p=openvswitch meta-flow: Correctly set destination MAC in mf_set_flow_value(). Signed-off-by: Ben Pfaff --- diff --git a/lib/meta-flow.c b/lib/meta-flow.c index 69226cbc..51db7b1e 100644 --- a/lib/meta-flow.c +++ b/lib/meta-flow.c @@ -1344,7 +1344,7 @@ mf_set_flow_value(const struct mf_field *mf, break; case MFF_ETH_DST: - memcpy(flow->dl_src, value->mac, ETH_ADDR_LEN); + memcpy(flow->dl_dst, value->mac, ETH_ADDR_LEN); break; case MFF_ETH_TYPE: