diff options
author | Donald Sharp <sharpd@nvidia.com> | 2024-11-06 14:15:06 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2024-11-26 17:58:23 +0100 |
commit | ba0edb9545038a8026813d5997a958cc6ed88765 (patch) | |
tree | 2f9f07d171b5699ae608f5f0eea4ccc1a8ad23c3 /bgpd/bgpd.h | |
parent | bgpd: peer_notify_unconfig should be connection based (diff) | |
download | frr-ba0edb9545038a8026813d5997a958cc6ed88765.tar.xz frr-ba0edb9545038a8026813d5997a958cc6ed88765.zip |
bgpd: Add `peer_notify_config_change()` function
We have about a bajillion tests of if we can
notify the peer and then we send a config change
notification. Let's just make a function that
does this.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r-- | bgpd/bgpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index e5252b78b..5af2d387a 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -2386,6 +2386,7 @@ extern int peer_group_remote_as(struct bgp *bgp, const char *peer_str, as_t *as, enum peer_asn_type as_type, const char *as_str); extern int peer_delete(struct peer *peer); extern void peer_notify_unconfig(struct peer_connection *connection); +extern void peer_notify_config_change(struct peer_connection *connection); extern int peer_group_delete(struct peer_group *); extern int peer_group_remote_as_delete(struct peer_group *); extern int peer_group_listen_range_add(struct peer_group *, struct prefix *); |