mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Revert "bgpd: Actually return the group peer"
This reverts commit e5209541f2
.
This commit is contained in:
parent
ef7434952e
commit
665a65cdc7
@ -6255,10 +6255,11 @@ int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_enabled_destroy(
|
||||
static struct peer *bgp_peer_group_peer_lookup(struct bgp *bgp,
|
||||
const char *peer_str)
|
||||
{
|
||||
struct peer *peer = NULL;
|
||||
struct peer_group *group = NULL;
|
||||
|
||||
group = peer_group_lookup(bgp, peer_str);
|
||||
return group->conf;
|
||||
return peer = group->conf;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user