]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/agg_table.h
bgpd, lib, ripngd: Add agg_node_get_prefix
[mirror_frr.git] / lib / agg_table.h
index f95fed6758f48a03a6a0aeb889506d1402f1ce47..9fddc975edf81dc6d70b6bef6b81d8848a29b3ee 100644 (file)
@@ -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