From: Andreas Steffen Date: Fri, 29 Apr 2016 15:33:57 +0000 (+0200) Subject: swanctl: --list-conns shows eap_id, xauth_id and aaa_id X-Git-Tag: 5.4.1dr2~11^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88f21cf65347bff19eda562e8f0bae89b0a5f7b;p=thirdparty%2Fstrongswan.git swanctl: --list-conns shows eap_id, xauth_id and aaa_id --- diff --git a/src/swanctl/commands/list_conns.c b/src/swanctl/commands/list_conns.c index b73a9f7e71..00a11c7956 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"));