diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-14 10:02:16 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-06 10:32:08 -0400 |
| commit | 42313c3f4426716bd4b5e797285cdaf9d64f335c (patch) | |
| tree | 156662d1f86da0124e1c8c8f03c96fcad4d81985 | |
| parent | 85154a40cd9c22e67564c2606962ce549f489778 (diff) | |
bgpd: bgp_static_update just called bgp_static_update_main
Just make it one function call
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
| -rw-r--r-- | bgpd/bgp_route.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index b016122a7f..d1924fe91e 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -3790,9 +3790,9 @@ bgp_static_free (struct bgp_static *bgp_static) XFREE (MTYPE_BGP_STATIC, bgp_static); } -static void -bgp_static_update_main (struct bgp *bgp, struct prefix *p, - struct bgp_static *bgp_static, afi_t afi, safi_t safi) +void +bgp_static_update (struct bgp *bgp, struct prefix *p, + struct bgp_static *bgp_static, afi_t afi, safi_t safi) { struct bgp_node *rn; struct bgp_info *ri; @@ -4001,13 +4001,6 @@ bgp_static_update_main (struct bgp *bgp, struct prefix *p, } void -bgp_static_update (struct bgp *bgp, struct prefix *p, - struct bgp_static *bgp_static, afi_t afi, safi_t safi) -{ - bgp_static_update_main (bgp, p, bgp_static, afi, safi); -} - -void bgp_static_withdraw (struct bgp *bgp, struct prefix *p, afi_t afi, safi_t safi) { |
