mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 02:46:34 +00:00
Merge pull request #16640 from louis-6wind/fix-nhrp-local
nhrpd: fix sending /32 shortcut
This commit is contained in:
commit
7af65715fc
@ -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