summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_table.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-11-02 13:31:22 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-16 15:43:35 +0100
commitb613a9183fb8d6a75aab73084983b94a866a4c41 (patch)
tree91295c955014bf584e76a7bb7d02956f16f18935 /bgpd/bgp_table.h
parentbgpd: Cleanup bgp_nexthop_set|get function names (diff)
downloadfrr-b613a9183fb8d6a75aab73084983b94a866a4c41.tar.xz
frr-b613a9183fb8d6a75aab73084983b94a866a4c41.zip
bgpd: Cleanup bgp_aggregate_set|get function names
The bgp_aggregate_set_node_info and bgp_aggregate_get_node_info functions names were slightly backwards, rename to bgp_node_get_bgp_aggregate_info and bgp_node_set_bgp_aggregate_info Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_table.h')
-rw-r--r--bgpd/bgp_table.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h
index 77722e515..1ad5e5e8b 100644
--- a/bgpd/bgp_table.h
+++ b/bgpd/bgp_table.h
@@ -319,13 +319,14 @@ void bgp_table_range_lookup(const struct bgp_table *table, struct prefix *p,
static inline struct bgp_aggregate *
-bgp_aggregate_get_node_info(struct bgp_node *node)
+bgp_node_get_bgp_aggregate_info(struct bgp_node *node)
{
return node->info;
}
-static inline void bgp_aggregate_set_node_info(struct bgp_node *node,
- struct bgp_aggregate *aggregate)
+static inline void
+bgp_node_set_bgp_aggregate_info(struct bgp_node *node,
+ struct bgp_aggregate *aggregate)
{
node->info = aggregate;
}