]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Set last reset `No AFI/SAFI activated for peer` after we do defaults 17881/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sat, 18 Jan 2025 12:54:20 +0000 (14:54 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 19 Jan 2025 09:08:00 +0000 (11:08 +0200)
commit9a5be111916cecf6b4c9c680c52634271c4bf9cc
tree4eab64ff9fbde3d68c9103a6851ac949b3ad3e58
parent0702ddb3c94e2f7cf2b0d0ef7886d8e21bf61bed
bgpd: Set last reset `No AFI/SAFI activated for peer` after we do defaults

Move checking if the peer is active only after we apply defaults for address
families.

If the family got activated after applying the defaults we should reset last_reset
reason.

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