summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_route.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-09 01:03:14 +0100
committerGitHub <noreply@github.com>2020-03-09 01:03:14 +0100
commitac0442fccbe747c02751fc2ec64b7a77f78ab324 (patch)
tree5e68072cc009496e371738d6b427fd65a3b46a94 /nhrpd/nhrp_route.c
parentMerge pull request #5935 from rubenk/tests-fix-linking-with-gcc10 (diff)
parentRevert "nhrpd: ignore zebra updates about our routes being deleted/added" (diff)
downloadfrr-ac0442fccbe747c02751fc2ec64b7a77f78ab324.tar.xz
frr-ac0442fccbe747c02751fc2ec64b7a77f78ab324.zip
Merge pull request #5922 from pguibert6WIND/nhrp_override_fix
Revert "nhrpd: ignore zebra updates about our routes being deleted/ad…
Diffstat (limited to 'nhrpd/nhrp_route.c')
-rw-r--r--nhrpd/nhrp_route.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nhrpd/nhrp_route.c b/nhrpd/nhrp_route.c
index 4f961c0da..f242c2e36 100644
--- a/nhrpd/nhrp_route.c
+++ b/nhrpd/nhrp_route.c
@@ -199,10 +199,6 @@ int nhrp_route_read(ZAPI_CALLBACK_ARGS)
if (CHECK_FLAG(api.message, ZAPI_MESSAGE_SRCPFX))
return 0;
- /* ignore our routes */
- if (api.type == ZEBRA_ROUTE_NHRP)
- return 0;
-
sockunion_family(&nexthop_addr) = AF_UNSPEC;
if (CHECK_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP)) {
api_nh = &api.nexthops[0];