mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
Merge pull request #16645 from FRRouting/mergify/bp/stable/10.0/pr-16640
nhrpd: fix sending /32 shortcut (backport #16640)
This commit is contained in:
commit
516b0092c9
@ -219,6 +219,10 @@ int nhrp_route_read(ZAPI_CALLBACK_ARGS)
|
||||
if (api.type == ZEBRA_ROUTE_NHRP)
|
||||
return 0;
|
||||
|
||||
/* ignore local routes */
|
||||
if (api.type == ZEBRA_ROUTE_LOCAL)
|
||||
return 0;
|
||||
|
||||
sockunion_family(&nexthop_addr) = AF_UNSPEC;
|
||||
if (CHECK_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP)) {
|
||||
api_nh = &api.nexthops[0];
|
||||
|
Loading…
Reference in New Issue
Block a user