aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-10-14 14:54:34 +0200
committerBenoît Ganne <bganne@cisco.com>2019-10-14 15:00:10 +0200
commitdb056acca08900d05ef806a6bab74ea30b262f0f (patch)
treeec8189e363424f0170961455b16d79e41f9cc0e6 /src/plugins/gbp
parent78fae13462fe2298773caa693ceb7c9e3b514eeb (diff)
gbp: use correct dst mac for RD-UU forward
Type: fix Change-Id: Ifdd193fab24796346b11a5df81740880f9a50ee8 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/gbp')
-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