Log configured IKE version in stroke plugin.
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 Dec 2011 12:09:37 +0000 (13:09 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Mar 2012 16:31:20 +0000 (17:31 +0100)
src/libcharon/plugins/stroke/stroke_socket.c

index 808906f..0f7a604 100644 (file)
@@ -195,6 +195,7 @@ static void stroke_add_conn(private_stroke_socket_t *this, stroke_msg_t *msg)
        DBG2(DBG_CFG, "  mediation=%s", msg->add_conn.ikeme.mediation ? "yes" : "no");
        DBG2(DBG_CFG, "  mediated_by=%s", msg->add_conn.ikeme.mediated_by);
        DBG2(DBG_CFG, "  me_peerid=%s", msg->add_conn.ikeme.peerid);
+       DBG2(DBG_CFG, "  keyexchange=%s", msg->add_conn.ikev2 ? "ikev2" : "ikev1");
 
        this->config->add(this->config, msg);
        this->attribute->add_pool(this->attribute, msg);