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:
Russ White 2024-12-03 10:04:09 -05:00 committed by GitHub
commit ed4a758f85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
/* 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);
/* Apply new source configuration to BFD session. */