summaryrefslogtreecommitdiff
path: root/sharpd/sharp_zebra.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-03-06 22:19:24 +0000
committervivek <vivek@cumulusnetworks.com>2018-03-06 22:19:24 +0000
commitbfd498f0dab9a1937c6036cd35ed020b64a69e8f (patch)
treedfb478c984f1aeb74f0c35c9c7b8b11577cb9833 /sharpd/sharp_zebra.c
parent558283638bb50ff24ea28bab89c1bb4c89ccc3dd (diff)
parentdefd0965f4a85a392e29032f712617e3c617596d (diff)
Merge branch 'master' of https://github.com/frrouting/frr into evpn-ipv6-tenant-routing
Conflicts: zebra/zserv.c
Diffstat (limited to 'sharpd/sharp_zebra.c')
-rw-r--r--sharpd/sharp_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c
index 3b22db20aa..f02ce4979c 100644
--- a/sharpd/sharp_zebra.c
+++ b/sharpd/sharp_zebra.c
@@ -169,6 +169,7 @@ void route_add(struct prefix *p, struct nexthop *nh)
api.safi = SAFI_UNICAST;
memcpy(&api.prefix, p, sizeof(*p));
+ SET_FLAG(api.flags, ZEBRA_FLAG_ALLOW_RECURSION);
SET_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP);
api_nh = &api.nexthops[0];