mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
bgpd: bgp_static_update just called bgp_static_update_main
Just make it one function call Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
This commit is contained in:
parent
85154a40cd
commit
42313c3f44
@ -3790,9 +3790,9 @@ bgp_static_free (struct bgp_static *bgp_static)
|
|||||||
XFREE (MTYPE_BGP_STATIC, bgp_static);
|
XFREE (MTYPE_BGP_STATIC, bgp_static);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
bgp_static_update_main (struct bgp *bgp, struct prefix *p,
|
bgp_static_update (struct bgp *bgp, struct prefix *p,
|
||||||
struct bgp_static *bgp_static, afi_t afi, safi_t safi)
|
struct bgp_static *bgp_static, afi_t afi, safi_t safi)
|
||||||
{
|
{
|
||||||
struct bgp_node *rn;
|
struct bgp_node *rn;
|
||||||
struct bgp_info *ri;
|
struct bgp_info *ri;
|
||||||
@ -4000,13 +4000,6 @@ bgp_static_update_main (struct bgp *bgp, struct prefix *p,
|
|||||||
bgp_attr_extra_free (&attr);
|
bgp_attr_extra_free (&attr);
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
void
|
||||||
bgp_static_withdraw (struct bgp *bgp, struct prefix *p, afi_t afi,
|
bgp_static_withdraw (struct bgp *bgp, struct prefix *p, afi_t afi,
|
||||||
safi_t safi)
|
safi_t safi)
|
||||||
|
Loading…
Reference in New Issue
Block a user