vici: Don't include a child-sas section in ike-updown event
authorTobias Brunner <tobias@strongswan.org>
Fri, 29 May 2015 16:38:47 +0000 (18:38 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 17 Aug 2015 09:12:17 +0000 (11:12 +0200)
This makes it clearer that only the data concerning the IKE_SA is
transmitted (there could be CHILD_SAs e.g. during IKEv1
reauthentication).

src/libcharon/plugins/vici/vici_query.c

index 4f040f9..236d367 100644 (file)
@@ -1062,8 +1062,6 @@ METHOD(listener_t, ike_updown, bool,
 
        b->begin_section(b, ike_sa->get_name(ike_sa));
        list_ike(this, b, ike_sa, now);
 
        b->begin_section(b, ike_sa->get_name(ike_sa));
        list_ike(this, b, ike_sa, now);
-       b->begin_section(b, "child-sas");
-       b->end_section(b);
        b->end_section(b);
 
        this->dispatcher->raise_event(this->dispatcher,
        b->end_section(b);
 
        this->dispatcher->raise_event(this->dispatcher,