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

lib, zebra: fix exit commands (backport #15770) #15785

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 18, 2024

If a command is not marked as YANG-converted, the current command batching buffer is flushed before executing the command. We shouldn't flush the buffer when executing an exit command. It should only be flushed if the next command is not YANG-converted, which is checked by the command itself, not the previous exit.

Fixes #15706.


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

If a command is not marked as `YANG`-converted, the current command
batching buffer is flushed before executing the command. We shouldn't
flush the buffer when executing an `exit` command. It should only be
flushed if the next command is not `YANG`-converted, which is checked by
the command itself, not the previous `exit`.

Fixes #15706.

Signed-off-by: Igor Ryzhov <[email protected]>
(cherry picked from commit 57811a5)
@ton31337 ton31337 merged commit 0c8c1e2 into stable/10.0 Apr 18, 2024
16 checks passed
@ton31337 ton31337 deleted the mergify/bp/stable/10.0/pr-15770 branch April 18, 2024 19:11
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.

2 participants