diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-02-01 11:02:22 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-02-16 19:24:09 +0100 |
commit | ec5f127a45c7c98eb0992d202bda1629e387469c (patch) | |
tree | 04c46d284a88b36f45c472db63137152c57a654e /src/libcharon | |
parent | e2d997121550bd09ae71a89616e5926d9ab6f293 (diff) | |
download | strongswan-ec5f127a45c7c98eb0992d202bda1629e387469c.tar.bz2 strongswan-ec5f127a45c7c98eb0992d202bda1629e387469c.tar.xz |
vici: Include uniqueness policy in list-conns
Diffstat (limited to 'src/libcharon')
-rw-r--r-- | src/libcharon/plugins/vici/vici_query.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/plugins/vici/vici_query.c b/src/libcharon/plugins/vici/vici_query.c index c60b88946..c0f4e2de9 100644 --- a/src/libcharon/plugins/vici/vici_query.c +++ b/src/libcharon/plugins/vici/vici_query.c @@ -790,6 +790,8 @@ CALLBACK(list_conns, vici_message_t*, peer_cfg->get_reauth_time(peer_cfg, FALSE)); b->add_kv(b, "rekey_time", "%u", peer_cfg->get_rekey_time(peer_cfg, FALSE)); + b->add_kv(b, "unique", "%N", unique_policy_names, + peer_cfg->get_unique_policy(peer_cfg)); build_auth_cfgs(peer_cfg, TRUE, b); build_auth_cfgs(peer_cfg, FALSE, b); |