Let bgp_peer_count drop to 0 (closes #92) #93

Merged
clawbot merged 1 commits from issue-92-peer-count-zero into next 2026-10-19 12:41:16 +02:00
1 Commits
Author SHA1 Message Date
sneak 714e7f6f4e Let bgp_peer_count drop to 0 (closes #92)
check / check (push) Waiting to run
SetBGPPeerCount stored a count only when it was above 0, so once the
last peer's session ended, /api/v1/stats kept reporting the previous
count. It now stores every count from 0 up; a negative count, or one
too large for the int32 it is kept in, is still not stored.

Model: opus-5-5
2026-10-19 10:27:45 +00:00