diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-27 07:07:35 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-27 07:07:35 +0100 |
commit | 3747e86149f55d58539807ef7b802731c6bff6ca (patch) | |
tree | 47fb936149f12a01c545cd85064697386b5b9307 /bgpd/bgpd.c | |
parent | Merge pull request #17519 from chiragshah6/evpn_dev4 (diff) | |
download | frr-3747e86149f55d58539807ef7b802731c6bff6ca.tar.xz frr-3747e86149f55d58539807ef7b802731c6bff6ca.zip |
bgpd: Use peer group's member for BGP notify instead of the peer-group
Fixes: eacf923b00c019e9a877c9716e5d6506594d532e ("bgpd: Fix pattern of usage in bgp_notify_config_change")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | bgpd/bgpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index f92ae969f..2f184894d 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -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. */ |