aboutsummaryrefslogtreecommitdiffstats
path: root/src/swanctl/command.c
Commit message (Collapse)AuthorAgeFilesLines
* swanctl: Never print more than MAX_LINES of usage summaryTobias Brunner2015-12-161-1/+10
| | | | Print a warning if a registered command exceeds that limit.
* vici: Certification Authority support added.Andreas Steffen2015-07-211-1/+1
| | | | | | CDP and OCSP URIs for a one or multiple certification authorities can be added via the VICI interface. swanctl allows to read definitions from a new authorities section.
* swanctl: Fix --uri optionMartin Willi2015-05-051-9/+36
| | | | | | | As we now pass the vici connection to the command dispatcher callback, we can't parse the --uri option to create the connection from the same callback. Instead pre-process the common command options in a separate loop, and ignore the same options while processing the actual command.
* swanctl: Fix exit codes based on errnoMartin Willi2014-10-101-1/+2
| | | | | As fprintf() most likely sets errno, we should save it before printing the error message.
* swanctl: Add a --reload-settings commandMartin Willi2014-09-221-1/+1
|
* swanctl: Fix enumeration of registered commands if MAX_COMMANDS is hitMartin Willi2014-05-071-3/+3
|
* swanctl: Add a stub for a vici based configuration and control utilityMartin Willi2014-05-071-0/+309