summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-10-14 14:54:34 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-22 11:23:46 +0000
commit0e520fdfd4e0c5d9ac8e37a56e9860d54ede3b35 (patch)
treed36585622019231a1974ca66be5afa9f8d3f9b47 /src
parenteb0cea6919c1be60abc063dc7289818baee6b0e3 (diff)
gbp: use correct dst mac for RD-UU forward
Type: fix Change-Id: Ifdd193fab24796346b11a5df81740880f9a50ee8 Signed-off-by: Benoît Ganne <bganne@cisco.com> (cherry picked from commit db056acca08900d05ef806a6bab74ea30b262f0f)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gbp/gbp_route_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gbp/gbp_route_domain.c b/src/plugins/gbp/gbp_route_domain.c
index 90b0155758d..ab998591982 100644
--- a/src/plugins/gbp/gbp_route_domain.c
+++ b/src/plugins/gbp/gbp_route_domain.c
@@ -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