gbp: use correct dst mac for RD-UU forward 53/22853/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 14 Oct 2019 12:54:34 +0000 (14:54 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 22 Oct 2019 11:23:46 +0000 (11:23 +0000)
Type: fix

Change-Id: Ifdd193fab24796346b11a5df81740880f9a50ee8
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit db056acca08900d05ef806a6bab74ea30b262f0f)

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