mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 15:47:22 +00:00
bgpd.c: Remove unused store to variable
(cherry picked from commit b2dd59ee0e74926278e128846624f5c93288223b) Conflicts: bgpd/bgpd.c
This commit is contained in:
parent
1f9a9fffc1
commit
4799375a87
@ -1629,9 +1629,9 @@ peer_remote_as (struct bgp *bgp, union sockunion *su, const char *conf_if,
|
|||||||
|
|
||||||
if (bgp_flag_check (bgp, BGP_FLAG_NO_DEFAULT_IPV4)
|
if (bgp_flag_check (bgp, BGP_FLAG_NO_DEFAULT_IPV4)
|
||||||
&& afi == AFI_IP && safi == SAFI_UNICAST)
|
&& afi == AFI_IP && safi == SAFI_UNICAST)
|
||||||
peer = peer_create (su, conf_if, bgp, local_as, *as, as_type, 0, 0, NULL);
|
peer_create (su, conf_if, bgp, local_as, *as, as_type, 0, 0, NULL);
|
||||||
else
|
else
|
||||||
peer = peer_create (su, conf_if, bgp, local_as, *as, as_type, afi, safi, NULL);
|
peer_create (su, conf_if, bgp, local_as, *as, as_type, afi, safi, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user