From 43c27dd19a5c32c8888f81e5e1b87c344acf6db5 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 6 Mar 2020 12:14:59 +0100 Subject: [PATCH] Revert "nhrpd: ignore zebra updates about our routes being deleted/added" This reverts commit d0bfe25dead1d3dfdc18951f1b6d0023be9ac76c. --- nhrpd/nhrp_route.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nhrpd/nhrp_route.c b/nhrpd/nhrp_route.c index ddb69a1aca..a23ac34745 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]; -- 2.39.5