mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
Merge pull request #2068 from LabNConsulting/working/master/rfapi-sa
bgp/rfapi: fix rfapiNhlAddNodeRoutes SA issue
This commit is contained in:
commit
754964258c
@ -1543,10 +1543,15 @@ static int rfapiNhlAddNodeRoutes(
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
int is_l2 = (rn->p.family == AF_ETHERNET);
|
int is_l2 = (rn->p.family == AF_ETHERNET);
|
||||||
|
|
||||||
if (rfapiRibFTDFilterRecentPrefix(
|
if (rfd_rib_node && rfd_rib_node->table && rfd_rib_node->table->info) {
|
||||||
(struct rfapi_descriptor *)(rfd_rib_node->table->info), rn,
|
struct rfapi_descriptor *rfd;
|
||||||
pfx_target_original)) {
|
|
||||||
return 0;
|
rfd = (struct rfapi_descriptor *)(rfd_rib_node->table->info);
|
||||||
|
|
||||||
|
if (rfapiRibFTDFilterRecentPrefix(
|
||||||
|
rfd, rn, pfx_target_original))
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
seen_nexthops =
|
seen_nexthops =
|
||||||
|
Loading…
Reference in New Issue
Block a user