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:
53cf7fa
)
swanctl: List CHILD_SA unique ID as the primary identifier, but print reqid, too
author
Martin Willi
<martin@revosec.ch>
Mon, 27 Oct 2014 12:54:51 +0000
(13:54 +0100)
committer
Martin Willi
<martin@revosec.ch>
Fri, 20 Feb 2015 12:34:50 +0000
(13:34 +0100)
src/swanctl/commands/list_sas.c
patch
|
blob
|
history
diff --git
a/src/swanctl/commands/list_sas.c
b/src/swanctl/commands/list_sas.c
index
35e7469
..
55297cf
100644
(file)
--- a/
src/swanctl/commands/list_sas.c
+++ b/
src/swanctl/commands/list_sas.c
@@
-86,8
+86,8
@@
CALLBACK(child_sas, int,
ret = vici_parse_cb(res, NULL, sa_values, sa_list, child);
if (ret == 0)
{
- printf(" %s: #%s, %s, %s%s, %s:",
- name, child->get(child, "reqid"),
+ printf(" %s: #%s,
reqid %s,
%s, %s%s, %s:",
+ name, child->get(child, "
uniqueid"), child->get(child, "
reqid"),
child->get(child, "state"), child->get(child, "mode"),
child->get(child, "encap") ? "-in-UDP" : "",
child->get(child, "protocol"));