mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 23:09:34 +00:00
Revert "nhrpd: ignore zebra updates about our routes being deleted/added"
This reverts commit d0bfe25dea
.
This commit is contained in:
parent
5d2724ec25
commit
43c27dd19a
@ -199,10 +199,6 @@ int nhrp_route_read(ZAPI_CALLBACK_ARGS)
|
|||||||
if (CHECK_FLAG(api.message, ZAPI_MESSAGE_SRCPFX))
|
if (CHECK_FLAG(api.message, ZAPI_MESSAGE_SRCPFX))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* ignore our routes */
|
|
||||||
if (api.type == ZEBRA_ROUTE_NHRP)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
sockunion_family(&nexthop_addr) = AF_UNSPEC;
|
sockunion_family(&nexthop_addr) = AF_UNSPEC;
|
||||||
if (CHECK_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP)) {
|
if (CHECK_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP)) {
|
||||||
api_nh = &api.nexthops[0];
|
api_nh = &api.nexthops[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user