summaryrefslogtreecommitdiff
path: root/bgpd/rfapi/rfapi_rib.c
diff options
context:
space:
mode:
authorSri Mohana Singamsetty <srimohans@gmail.com>2020-03-26 19:07:36 -0700
committerGitHub <noreply@github.com>2020-03-26 19:07:36 -0700
commit0298bb01bb71a33a8d4cbdb676a9ad0e8d5987e7 (patch)
tree7ff68371b00434ff3dac4d169d0f214e7a8fe2e2 /bgpd/rfapi/rfapi_rib.c
parent762d514faba86051196f4806c083b59886157e82 (diff)
parentb54892e0ea247f52beea96855734919f80de5217 (diff)
Merge pull request #6085 from donaldsharp/bgp_node_get_prefix
Bgp node get prefix
Diffstat (limited to 'bgpd/rfapi/rfapi_rib.c')
-rw-r--r--bgpd/rfapi/rfapi_rib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bgpd/rfapi/rfapi_rib.c b/bgpd/rfapi/rfapi_rib.c
index c64658181c..04a538dc63 100644
--- a/bgpd/rfapi/rfapi_rib.c
+++ b/bgpd/rfapi/rfapi_rib.c
@@ -1813,7 +1813,8 @@ int rfapiRibFTDFilterRecentPrefix(
{
char buf_pfx[PREFIX_STRLEN];
- prefix2str(&it_rn->p, buf_pfx, sizeof(buf_pfx));
+ prefix2str(agg_node_get_prefix(it_rn), buf_pfx,
+ sizeof(buf_pfx));
vnc_zlog_debug_verbose("%s: prefix %s", __func__, buf_pfx);
}
#endif
@@ -1994,7 +1995,8 @@ rfapiRibPreload(struct bgp *bgp, struct rfapi_descriptor *rfd,
}
vnc_zlog_debug_verbose(
"%s: RIB skiplist for this prefix follows", __func__);
- rfapiRibShowRibSl(NULL, &rn->p, (struct skiplist *)rn->info);
+ rfapiRibShowRibSl(NULL, agg_node_get_prefix(rn),
+ (struct skiplist *)rn->info);
#endif