summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_rpki.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-12 22:18:15 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-12-12 22:18:15 +0100
commit2b964e86994d9c4bb7c7ea160ea605db4f9c35de (patch)
treeb432c1325ac2aa14f2b520daa3b846240ab29356 /bgpd/bgp_rpki.c
parenttopotests: Add a basic route leak vrf test (diff)
downloadfrr-2b964e86994d9c4bb7c7ea160ea605db4f9c35de.tar.xz
frr-2b964e86994d9c4bb7c7ea160ea605db4f9c35de.zip
bgpd: Cleanup non-normal compiled code path
Looks like we missed some code in a non-normal compiled code path for the bgp_path_info conversion. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_rpki.c')
-rw-r--r--bgpd/bgp_rpki.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c
index c69997a41..b614e87d2 100644
--- a/bgpd/bgp_rpki.c
+++ b/bgpd/bgp_rpki.c
@@ -418,7 +418,8 @@ static void revalidate_bgp_node(struct bgp_node *bgp_node, afi_t afi,
for (ain = bgp_node->adj_in; ain; ain = ain->next) {
int ret;
- struct bgp_path_info *path = bgp_info_from_node(bgp_node);
+ struct bgp_path_info *path =
+ bgp_node_get_bgp_path_info(bgp_node);
mpls_label_t *label = NULL;
uint32_t num_labels = 0;