diff options
Diffstat (limited to 'lib/agg_table.h')
| -rw-r--r-- | lib/agg_table.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/agg_table.h b/lib/agg_table.h index f95fed6758..9fddc975ed 100644 --- a/lib/agg_table.h +++ b/lib/agg_table.h @@ -155,6 +155,12 @@ static inline struct agg_table *agg_get_table(struct agg_node *node) return (struct agg_table *)route_table_get_info(node->table); } +static inline const struct prefix * +agg_node_get_prefix(const struct agg_node *node) +{ + return &node->p; +} + #ifdef __cplusplus } #endif |
