summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_mplsvpn.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-26 02:37:16 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-16 15:43:35 +0100
commit67009e2200b70563b5b2eb1ca5752d7fafe6902c (patch)
treea07b7f41b1d287a87551fc441aa29a5101064451 /bgpd/bgp_mplsvpn.c
parentbgpd: Abstract bgp_info retrieving/setting from info pointer (diff)
downloadfrr-67009e2200b70563b5b2eb1ca5752d7fafe6902c.tar.xz
frr-67009e2200b70563b5b2eb1ca5752d7fafe6902c.zip
bgpd: Abstract bgp_table retrieving/setting from info pointer
Convert the set/get of bgp_table's from the info pointer. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_mplsvpn.c')
-rw-r--r--bgpd/bgp_mplsvpn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c
index 24ac4ca07..c763d9fc7 100644
--- a/bgpd/bgp_mplsvpn.c
+++ b/bgpd/bgp_mplsvpn.c
@@ -961,7 +961,7 @@ void vpn_leak_from_vrf_withdraw_all(struct bgp *bgp_vpn, /* to */
struct bgp_path_info *bpi;
/* This is the per-RD table of prefixes */
- table = prn->info;
+ table = bgp_node_get_bgp_table_info(prn);
if (!table)
continue;
@@ -1381,7 +1381,7 @@ void vpn_leak_to_vrf_update_all(struct bgp *bgp_vrf, /* to */
memcpy(prd.val, prn->p.u.val, 8);
/* This is the per-RD table of prefixes */
- table = prn->info;
+ table = bgp_node_get_bgp_table_info(prn);
if (!table)
continue;