summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2022-01-28 11:58:43 -0500
committerGitHub <noreply@github.com>2022-01-28 11:58:43 -0500
commita9155261f76da3923d6c3e8cd98026121cd05c75 (patch)
treeec94bda005a8942e2a7fbf0c2ae4f968d0fc18e8
parent80dae7afbe418a6bbd08311a05a1abf347c17b1f (diff)
parent8244ba34aa479cbf32b48f0ffc7dbda16601fb77 (diff)
Merge pull request #9869 from leonshaw/fix/evpn-queue
zebra: Fix EVPN route nexthop config order
-rw-r--r--zebra/zapi_msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index c3d7bcd909..5cf7d815d8 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -1577,7 +1577,7 @@ static struct nexthop *nexthop_from_zapi(const struct zapi_nexthop *api_nh,
vtep_ip.ipa_type = IPADDR_V4;
memcpy(&(vtep_ip.ipaddr_v4), &(api_nh->gate.ipv4),
sizeof(struct in_addr));
- zebra_vxlan_evpn_vrf_route_add(
+ zebra_rib_queue_evpn_route_add(
api_nh->vrf_id, &api_nh->rmac, &vtep_ip, p);
}
break;
@@ -1610,7 +1610,7 @@ static struct nexthop *nexthop_from_zapi(const struct zapi_nexthop *api_nh,
vtep_ip.ipa_type = IPADDR_V6;
memcpy(&vtep_ip.ipaddr_v6, &(api_nh->gate.ipv6),
sizeof(struct in6_addr));
- zebra_vxlan_evpn_vrf_route_add(
+ zebra_rib_queue_evpn_route_add(
api_nh->vrf_id, &api_nh->rmac, &vtep_ip, p);
}
break;