mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 15:07:51 +00:00
bgpd: properly initialize ret variable
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
parent
df399d1cb1
commit
c4edf7086b
@ -1471,7 +1471,7 @@ static int install_evpn_route_entry_in_vrf(struct bgp *bgp_vrf,
|
|||||||
struct bgp_node *rn;
|
struct bgp_node *rn;
|
||||||
struct bgp_info *ri;
|
struct bgp_info *ri;
|
||||||
struct attr *attr_new;
|
struct attr *attr_new;
|
||||||
int ret;
|
int ret = 0;
|
||||||
struct prefix p;
|
struct prefix p;
|
||||||
struct prefix *pp = &p;
|
struct prefix *pp = &p;
|
||||||
afi_t afi = 0;
|
afi_t afi = 0;
|
||||||
@ -1628,7 +1628,7 @@ static int uninstall_evpn_route_entry_in_vrf(struct bgp *bgp_vrf,
|
|||||||
{
|
{
|
||||||
struct bgp_node *rn;
|
struct bgp_node *rn;
|
||||||
struct bgp_info *ri;
|
struct bgp_info *ri;
|
||||||
int ret;
|
int ret = 0;
|
||||||
struct prefix p;
|
struct prefix p;
|
||||||
struct prefix *pp = &p;
|
struct prefix *pp = &p;
|
||||||
afi_t afi = 0;
|
afi_t afi = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user