Cast first argument for %.*s to int
[strongswan.git] / src / conftest / hooks / set_ike_version.c
index d2de9dc..ca52879 100644 (file)
@@ -57,9 +57,9 @@ struct private_set_ike_version_t {
 
 METHOD(listener_t, message, bool,
        private_set_ike_version_t *this, ike_sa_t *ike_sa, message_t *message,
-       bool incoming)
+       bool incoming, bool plain)
 {
-       if (!incoming &&
+       if (!incoming && plain &&
                message->get_request(message) == this->req &&
                message->get_message_id(message) == this->id)
        {