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

mosquitto_ctrl: cannot override command-line parameters when config file is used #2010

willem4ever opened this issue Jan 11, 2021 · 1 comment


Copy link

The processing order in ctrl_config_parse is wrong which prevents parameters used in the config file to be overridden by the same parameter used on the command-line, below order resolves the issue :-)

rc = client_config_load(cfg);
if(rc) return rc;

/* Deal with real argc/argv */
rc = client_config_line_proc(cfg, argc, argv);
if(rc) return rc;
Copy link

ralight commented Jan 11, 2021

Keep them coming! :)

@ralight ralight added this to the 2.0.6 milestone Jan 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

No branches or pull requests

2 participants