]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/agg_table.h
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / agg_table.h
index 235f0d37a390ef3417a11aa468c0bb61582fe235..dc2ff03b674828151e05d5ace71ac6c4887fbdde 100644 (file)
@@ -58,7 +58,7 @@ static inline struct agg_node *agg_lock_node(struct agg_node *node)
 
 static inline void agg_unlock_node(struct agg_node *node)
 {
-       return route_unlock_node(agg_node_to_rnode(node));
+       route_unlock_node(agg_node_to_rnode(node));
 }
 
 static inline void agg_set_table_info(struct agg_table *atable, void *data)
@@ -148,6 +148,6 @@ static inline struct agg_node *agg_route_table_top(struct agg_node *node)
 
 static inline struct agg_table *agg_get_table(struct agg_node *node)
 {
-       return (struct agg_table *)node->table->info;
+       return (struct agg_table *)route_table_get_info(node->table);
 }
 #endif