diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-11-06 08:24:28 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-11-26 11:59:18 -0500 |
| commit | eacf923b00c019e9a877c9716e5d6506594d532e (patch) | |
| tree | 6bd7e2a8b7b196c279e84ad36b409be39973bb36 /lib/if_rmap.c | |
| parent | ba0edb9545038a8026813d5997a958cc6ed88765 (diff) | |
bgpd: Fix pattern of usage in bgp_notify_config_change
if (BGP_IS_VALID_STATE_FOR_NOTIF(peer->connection->status))
peer_notify_config_change(peer->connection);
else
bgp_session_reset_safe(peer, &nnode);
Let's add a bool return to peer_notify_config_change of whether or
not it should call the peer session reset. This simplifies
the code a bunch.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/if_rmap.c')
0 files changed, 0 insertions, 0 deletions
