diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-04-29 17:33:57 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-05-04 18:13:52 +0200 |
commit | e88f21cf65347bff19eda562e8f0bae89b0a5f7b (patch) | |
tree | e18b4050adf18b3abc38de930c94426486c83761 /src | |
parent | 87381a55a9d0c3cc7d4cea1a4eb54c02c6e3dfcf (diff) | |
download | strongswan-e88f21cf65347bff19eda562e8f0bae89b0a5f7b.tar.bz2 strongswan-e88f21cf65347bff19eda562e8f0bae89b0a5f7b.tar.xz |
swanctl: --list-conns shows eap_id, xauth_id and aaa_id
Diffstat (limited to 'src')
-rw-r--r-- | src/swanctl/commands/list_conns.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/swanctl/commands/list_conns.c b/src/swanctl/commands/list_conns.c index b73a9f7e7..00a11c795 100644 --- a/src/swanctl/commands/list_conns.c +++ b/src/swanctl/commands/list_conns.c @@ -135,9 +135,22 @@ CALLBACK(conn_sn, int, } printf(" %s %s authentication:\n", strpfx(name, "local") ? "local" : "remote", class); + if (auth->get(auth, "id")) { printf(" id: %s\n", auth->get(auth, "id")); } + if (auth->get(auth, "eap_id")) + { + printf(" eap_id: %s\n", auth->get(auth, "eap_id")); + } + if (auth->get(auth, "xauth_id")) + { + printf(" xauth_id: %s\n", auth->get(auth, "xauth_id")); + } + if (auth->get(auth, "aaa_id")) + { + printf(" aaa_id: %s\n", auth->get(auth, "aaa_id")); + } if (auth->get(auth, "groups")) { printf(" groups: %s\n", auth->get(auth, "groups")); |