diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-30 19:11:39 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-23 20:04:39 -0400 |
| commit | 6ca30e9ec6ed84d5ace735912bf69c45050adda6 (patch) | |
| tree | 2ffadfc6d1acf3f2019e9e96c552312af7b3aca9 /zebra/rib.h | |
| parent | 890ca17a08d4c8e89664c34594d1ec3eb171db04 (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 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index f821c6edb4..f3aead32d8 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -355,7 +355,7 @@ extern uint8_t route_distance(int type); */ static inline rib_table_info_t *rib_table_info(struct route_table *table) { - return (rib_table_info_t *)table->info; + return (rib_table_info_t *)route_table_get_info(table); } /* |
