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 #15770

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

idryzhov
Copy link
Contributor

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.

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 FRRouting#15706.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
@idryzhov
Copy link
Contributor Author

@Mergifyio backport stable/10.0

Copy link

mergify bot commented Apr 16, 2024

backport stable/10.0

✅ Backports have been created

@idryzhov
Copy link
Contributor Author

ci:rerun

@Jafaral Jafaral merged commit 8e7fb95 into FRRouting:master Apr 18, 2024
15 checks passed
ton31337 added a commit that referenced this pull request Apr 18, 2024
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.

'exit' in route-map section is causing frr reload and restart to fail in scale setups
2 participants