mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:46:54 +00:00
Merge pull request #17528 from opensourcerouting/fix/peer_notify_copy_error
bgpd: Use peer group's member for BGP notify instead of the peer-group
This commit is contained in:
commit
ed4a758f85
@ -5703,7 +5703,7 @@ void peer_update_source_addr_set(struct peer *peer, const union sockunion *su)
|
|||||||
member->last_reset = PEER_DOWN_UPDATE_SOURCE_CHANGE;
|
member->last_reset = PEER_DOWN_UPDATE_SOURCE_CHANGE;
|
||||||
|
|
||||||
/* Send notification or reset peer depending on state. */
|
/* Send notification or reset peer depending on state. */
|
||||||
if (!peer_notify_config_change(peer->connection))
|
if (!peer_notify_config_change(member->connection))
|
||||||
bgp_session_reset(member);
|
bgp_session_reset(member);
|
||||||
|
|
||||||
/* Apply new source configuration to BFD session. */
|
/* Apply new source configuration to BFD session. */
|
||||||
|
Loading…
Reference in New Issue
Block a user