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

mgmtd: fix missing -n flag and help #15297

Merged
merged 2 commits into from
Feb 5, 2024
Merged

Conversation

idryzhov
Copy link
Contributor

@idryzhov idryzhov commented Feb 4, 2024

Only --vrfwnetns works right now, because -n was missing from short ops. Also add the missing help.

@frrbot frrbot bot added bugfix mgmt FRR Management Infra labels Feb 4, 2024
@ton31337 ton31337 added this to the 10.0 milestone Feb 4, 2024
Only --vrfwnetns works right now, because -n was missing from short ops.
Also add the missing help.

Signed-off-by: Igor Ryzhov <[email protected]>
mgmtd is supposed to only register CLI callbacks. If configuration
callbacks are registered, they are getting called on startup when mgmtd
reads config files, and they can use infrastructure that is not
initialized on mgmtd, or allocate some memory that is never freed.

Signed-off-by: Igor Ryzhov <[email protected]>
@frrbot frrbot bot added the libfrr label Feb 4, 2024
@github-actions github-actions bot added size/M and removed size/XS labels Feb 4, 2024
@donaldsharp donaldsharp merged commit 015c116 into FRRouting:master Feb 5, 2024
11 checks passed
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.

3 participants