strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
859cb93
)
swanctl: Properly register --counters commmand
author
Tobias Brunner
<tobias@strongswan.org>
Mon, 13 Nov 2017 08:45:14 +0000
(09:45 +0100)
committer
Tobias Brunner
<tobias@strongswan.org>
Mon, 13 Nov 2017 08:45:14 +0000
(09:45 +0100)
Use C instead of c, which is already used for --load-conns.
src/swanctl/commands/counters.c
patch
|
blob
|
history
diff --git
a/src/swanctl/commands/counters.c
b/src/swanctl/commands/counters.c
index
77485c2
..
ab386b5
100644
(file)
--- a/
src/swanctl/commands/counters.c
+++ b/
src/swanctl/commands/counters.c
@@
-140,7
+140,7
@@
static int counters(vici_conn_t *conn)
static void __attribute__ ((constructor))reg()
{
command_register((command_t) {
- counters, '
c
', "counters", "list or reset IKE event counters",
+ counters, '
C
', "counters", "list or reset IKE event counters",
{"[--name <name>|--all] [--reset] [--raw|--pretty]"},
{
{"help", 'h', 0, "show usage information"},