mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
bgpd: Keep last notification's state about hard reset
When we receive a hard-reset notification, we always show it if it was a hard, or not. For sending side, we missed that. Let's display it too. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
59f5dd686a
commit
ae1f3a4851
@ -982,6 +982,7 @@ static void bgp_notify_send_internal(struct peer_connection *connection,
|
||||
peer->notify.code = bgp_notify.code;
|
||||
peer->notify.subcode = bgp_notify.subcode;
|
||||
peer->notify.length = bgp_notify.length;
|
||||
peer->notify.hard_reset = hard_reset;
|
||||
|
||||
if (bgp_notify.length && data) {
|
||||
bgp_notify.data = XMALLOC(MTYPE_BGP_NOTIFICATION,
|
||||
|
Loading…
Reference in New Issue
Block a user