-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add a command line option to verify configuration and exit #100
Comments
Sure, I've done something similar for troglobit/inadyn@fd3ef93, so that would be great. How deep are you planning to go, verify interface names and group addresses, or just syntax? |
I thought about simply calling |
Is |
Sounds reasonable, we can add more functionality later. Hmm, ...
#ifdef ENABLE_DOTCONF
" -f FILE Set configuration file, default uses ident NAME: %s\n"
" -F FILE Check configuration file syntax, -l LVL to increase verbosity\n"
#endif
... |
Also acceptable. |
Go ahead and change what you need. Personally I might've refactored |
Any progress on this? |
I haven't had the chance to reach this yet. You'll see a PR once I will. |
OK, just checking :) |
@thedrow Hi again. I just added a very simple |
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
It would be useful for our CI process to be able to verify the configuration of smcrouted.
Would you accept a PR that adds a command line option to smcrouted that says only verify configuration and exit?
The text was updated successfully, but these errors were encountered: