summaryrefslogtreecommitdiff
path: root/zebra/zserv.c
diff options
context:
space:
mode:
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>2017-10-13 15:48:01 -0700
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>2017-12-14 10:57:05 -0800
commit19a847a9cd05fd3317c00e9067ff1e29bb9f0be4 (patch)
tree90cbbca7345b8f5053e982ca28a8db740442fefb /zebra/zserv.c
parent5ba238b74a29b39c9a7cf7f44c10b38d489fc725 (diff)
bgpd: set evpn rvtep nexthops as active by default
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r--zebra/zserv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index fb0412c0a3..db09941944 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -1183,6 +1183,8 @@ static int zread_route_add(struct zserv *client, u_short length,
program the nh as neigh */
if (CHECK_FLAG(api.flags,
ZEBRA_FLAG_EVPN_TYPE2_ROUTE)) {
+ SET_FLAG(nexthop->flags,
+ NEXTHOP_FLAG_EVPN_RVTEP);
vtep_ip.ipa_type = IPADDR_V4;
memcpy(&(vtep_ip.ipaddr_v4),
&(api_nh->gate.ipv4),