diff options
| author | Xiao Liang <shaw.leon@gmail.com> | 2022-12-15 17:04:32 +0800 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-08-11 15:39:43 +0000 |
| commit | 1e4351d3b162832b77cb41840565a85da80dd218 (patch) | |
| tree | ccfeb077f4347f7f455270cd9f31a31a71653e54 /lib/nexthop.c | |
| parent | 1539b571496129712ab88d99c7d74ff21520d87e (diff) | |
lib, zebra: Fix EVPN nexthop config order
Delay EVPN route addition to synchronize with rib_delete(), which now
uses early route queue.
Signed-off-by: Xiao Liang <shaw.leon@gmail.com>
(cherry picked from commit cea3f7f25a23e485d4f814b670c11c92249568e1)
Diffstat (limited to 'lib/nexthop.c')
| -rw-r--r-- | lib/nexthop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nexthop.c b/lib/nexthop.c index 248acd2700..1eeed4adfa 100644 --- a/lib/nexthop.c +++ b/lib/nexthop.c @@ -812,6 +812,7 @@ void nexthop_copy_no_recurse(struct nexthop *copy, memcpy(©->gate, &nexthop->gate, sizeof(nexthop->gate)); memcpy(©->src, &nexthop->src, sizeof(nexthop->src)); memcpy(©->rmap_src, &nexthop->rmap_src, sizeof(nexthop->rmap_src)); + memcpy(©->rmac, &nexthop->rmac, sizeof(nexthop->rmac)); copy->rparent = rparent; if (nexthop->nh_label) nexthop_add_labels(copy, nexthop->nh_label_type, |
