From: Tobias Brunner Date: Fri, 16 Feb 2018 08:55:22 +0000 (+0100) Subject: vici: Also return close action X-Git-Tag: 5.6.2rc1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb545dd34d9296b8f871c4c499eaeeb59d7a40f8;p=thirdparty%2Fstrongswan.git vici: Also return close action --- diff --git a/src/libcharon/plugins/vici/vici_query.c b/src/libcharon/plugins/vici/vici_query.c index 461132e031..82c3d78554 100644 --- a/src/libcharon/plugins/vici/vici_query.c +++ b/src/libcharon/plugins/vici/vici_query.c @@ -856,7 +856,9 @@ CALLBACK(list_conns, vici_message_t*, free(lft); b->add_kv(b, "dpd_action", "%N", action_names, - child_cfg->get_dpd_action(child_cfg)); + child_cfg->get_dpd_action(child_cfg)); + b->add_kv(b, "close_action", "%N", action_names, + child_cfg->get_close_action(child_cfg)); b->begin_list(b, "local-ts"); list = child_cfg->get_traffic_selectors(child_cfg, TRUE, NULL, NULL);