summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_table.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-10-15 14:33:58 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-16 15:43:35 +0100
commit5b8d32bd583c180c15e9dba07feb24c68501176d (patch)
tree0e3157a7285a82990cb4b2a4ce77254e19921725 /bgpd/bgp_table.h
parentbgpd: Cleanup non-usage of prefix2str in bgp_vpn.c (diff)
downloadfrr-5b8d32bd583c180c15e9dba07feb24c68501176d.tar.xz
frr-5b8d32bd583c180c15e9dba07feb24c68501176d.zip
bgpd: Cleanup bgp_nexthop_set|get function names
The bgp_nexthop_set_node_info and bgp_nexthop_get_node_info function names were slightly backwards, rename to bgp_node_set and get Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_table.h')
-rw-r--r--bgpd/bgp_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h
index ee21e74a1..77722e515 100644
--- a/bgpd/bgp_table.h
+++ b/bgpd/bgp_table.h
@@ -365,12 +365,12 @@ static inline void bgp_connected_set_node_info(struct bgp_node *node,
}
static inline struct bgp_nexthop_cache *
-bgp_nexthop_get_node_info(struct bgp_node *node)
+bgp_node_get_bgp_nexthop_info(struct bgp_node *node)
{
return node->info;
}
-static inline void bgp_nexthop_set_node_info(struct bgp_node *node,
+static inline void bgp_node_set_bgp_nexthop_info(struct bgp_node *node,
struct bgp_nexthop_cache *bnc)
{
node->info = bnc;