diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-03-09 14:28:38 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-03-22 08:04:46 +0100 |
commit | aa24a36a2d1814c8a1844465b8ff73e54cb85b45 (patch) | |
tree | 610efe1c08b5f5bad4943d78ba4607614678242a /bgpd/bgp_vty.h | |
parent | Merge pull request #10815 from pguibert6WIND/pim_debug_vxlan (diff) | |
download | frr-aa24a36a2d1814c8a1844465b8ff73e54cb85b45.tar.xz frr-aa24a36a2d1814c8a1844465b8ff73e54cb85b45.zip |
bgpd: Add BGP configuration start/end markers
Delay BGP configuration until we receive end-configuration hook to make sure
we don't send partial updates to peer which leads to broken Graceful-Restart.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r-- | bgpd/bgp_vty.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h index 93026c663..4b393275d 100644 --- a/bgpd/bgp_vty.h +++ b/bgpd/bgp_vty.h @@ -164,6 +164,7 @@ extern void bgp_config_write_rpkt_quanta(struct vty *vty, struct bgp *bgp); extern void bgp_config_write_listen(struct vty *vty, struct bgp *bgp); extern void bgp_config_write_coalesce_time(struct vty *vty, struct bgp *bgp); extern int bgp_vty_return(struct vty *vty, int ret); +extern bool bgp_config_inprocess(void); extern struct peer *peer_and_group_lookup_vty(struct vty *vty, const char *peer_str); |