summaryrefslogtreecommitdiff
path: root/lib/agg_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 /lib/agg_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 'lib/agg_table.c')
-rw-r--r--lib/agg_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/agg_table.c b/lib/agg_table.c
index 6033fc3f05..dad6a13d67 100644
--- a/lib/agg_table.c
+++ b/lib/agg_table.c
@@ -53,7 +53,7 @@ struct agg_table *agg_table_init(void)
at = XCALLOC(MTYPE_TMP, sizeof(struct agg_table));
at->route_table = route_table_init_with_delegate(&agg_table_delegate);
- at->route_table->info = at;
+ route_table_set_info(at->route_table, at);
return at;
}