Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: Set last reset reason to admin shutdown if it was manually (backport #16242) #16276

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 24, 2024

Closes #16238


This is an automatic backport of pull request #16242 done by Mergify.

ton31337 added 2 commits June 24, 2024 19:41
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 <[email protected]>
(cherry picked from commit c25c7e9)
…ailed peer

Before:

```
Neighbor        EstdCnt DropCnt ResetTime Reason
127.0.0.1             0       0     never  Waiting for peer OPEN (n/a)
```

After:

```
Neighbor        EstdCnt DropCnt ResetTime Reason
127.0.0.1             0       0     never Waiting for peer OPEN (n/a)
```

Signed-off-by: Donatas Abraitis <[email protected]>
(cherry picked from commit b5bd626)
@frrbot frrbot bot added the bgp label Jun 24, 2024
@ton31337 ton31337 merged commit d1b69e0 into stable/9.1 Jun 25, 2024
12 checks passed
@ton31337 ton31337 deleted the mergify/bp/stable/9.1/pr-16242 branch June 25, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant