diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-16 08:46:19 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-16 09:43:35 -0500 | 
| commit | 5a8ba9fc0ad9f0d6d3ca3075bf229a2319eb5cc0 (patch) | |
| tree | befe7708fa39be587618e00a4a8f1d86faf2d89c /bgpd/bgp_table.h | |
| parent | b613a9183fb8d6a75aab73084983b94a866a4c41 (diff) | |
bgpd: Cleanup bgp_static_set|get function names
The bgp_static_set_node_info and bgp_static_get_node_info
function names were slightly backwards rename to
bgp_node_get_bgp_static_info and bgp_node_set_bgp_static_info
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_table.h')
| -rw-r--r-- | bgpd/bgp_table.h | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h index 1ad5e5e8b2..9fcf5c1c79 100644 --- a/bgpd/bgp_table.h +++ b/bgpd/bgp_table.h @@ -342,13 +342,14 @@ static inline void bgp_distance_set_node_info(struct bgp_node *node,  	node->info = distance;  } -static inline struct bgp_static *bgp_static_get_node_info(struct bgp_node *node) +static inline struct bgp_static * +bgp_node_get_bgp_static_info(struct bgp_node *node)  {  	return node->info;  } -static inline void bgp_static_set_node_info(struct bgp_node *node, -					    struct bgp_static *bgp_static) +static inline void bgp_node_set_bgp_static_info(struct bgp_node *node, +						struct bgp_static *bgp_static)  {  	node->info = bgp_static;  }  | 
