]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/agg_table.h
Merge pull request #7220 from idryzhov/fix-clear-isis
[mirror_frr.git] / lib / agg_table.h
index f95fed6758f48a03a6a0aeb889506d1402f1ce47..e98476f1b7d3e0cda389daa41c866194dcc97177 100644 (file)
@@ -155,6 +155,16 @@ 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 _FRR_ATTRIBUTE_PRINTFRR
+#pragma FRR printfrr_ext "%pRN"  (struct agg_node *)
+#endif
+
 #ifdef __cplusplus
 }
 #endif