gbp: use correct dst mac for RD-UU forward 16/22716/1
authorBenoît Ganne <bganne@cisco.com>
Mon, 14 Oct 2019 12:54:34 +0000 (14:54 +0200)
committerBenoît Ganne <bganne@cisco.com>
Mon, 14 Oct 2019 13:00:10 +0000 (15:00 +0200)
Type: fix

Change-Id: Ifdd193fab24796346b11a5df81740880f9a50ee8
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/gbp/gbp_route_domain.c

index 90b0155..ab99859 100644 (file)
@@ -172,7 +172,7 @@ gbp_route_domain_add_and_lock (u32 rd_id,
            mac_address_to_bytes (gbp_route_domain_get_local_mac (),
                                  eth->src_address);
            mac_address_to_bytes (gbp_route_domain_get_remote_mac (),
-                                 eth->src_address);
+                                 eth->dst_address);
 
            /*
             * create an adjacency out of the uu-fwd interfaces that will