]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Set last reset reason to admin shutdown if it was manually
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 19 Jun 2024 11:09:00 +0000 (14:09 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 19 Jun 2024 11:09:00 +0000 (14:09 +0300)
commitc25c7e929d550c2faca3af74a29593b8c0b75db3
tree2785b943de3807fc4182fd89c68bfb8f8b96dc34
parent64112ed9e65eacd9a706d59fd1345ae64ee6c4a4
bgpd: Set last reset reason to admin shutdown if it was manually

Before this patch, we always printed the last reason "Waiting for OPEN", but
if it's a manual shutdown, then we technically are not waiting for OPEN.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgpd.c