vici: Return PPK state of an IKE_SA

This commit is contained in:
Tobias Brunner 2018-07-27 12:50:22 +02:00
parent e4d85011e4
commit c4d2fdd915
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ static void list_ike(private_vici_query_t *this, vici_builder_t *b,
b->add_kv(b, "dh-group", "%N", diffie_hellman_group_names, alg);
}
}
add_condition(b, ike_sa, "ppk", COND_PPK);
if (ike_sa->get_state(ike_sa) == IKE_ESTABLISHED)
{