summaryrefslogtreecommitdiff
path: root/bgpd/bgp_table.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-30 19:11:39 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-23 20:04:39 -0400
commit6ca30e9ec6ed84d5ace735912bf69c45050adda6 (patch)
tree2ffadfc6d1acf3f2019e9e96c552312af7b3aca9 /bgpd/bgp_table.c
parent890ca17a08d4c8e89664c34594d1ec3eb171db04 (diff)
bgpd, lib, zebra: Wrapper get/set of table->info pointer
Wrapper the get/set of the table->info pointer so that people are not directly accessing this data. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_table.c')
-rw-r--r--bgpd/bgp_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_table.c b/bgpd/bgp_table.c
index 234553b6ea..f7bb6e1054 100644
--- a/bgpd/bgp_table.c
+++ b/bgpd/bgp_table.c
@@ -101,7 +101,7 @@ struct bgp_table *bgp_table_init(struct bgp *bgp, afi_t afi, safi_t safi)
/*
* Set up back pointer to bgp_table.
*/
- rt->route_table->info = rt;
+ route_table_set_info(rt->route_table, rt);
/*
* pointer to bgp instance allows working back from bgp_info to bgp