store the long and excl flags in the connection state
[strongswan.git] / src / libimcv / imv / imv_agent.c
index 503b803..f7ec0e6 100644 (file)
@@ -328,6 +328,8 @@ METHOD(imv_agent_t, create_state, TNC_Result,
        t_p = get_str_attribute(this, conn_id, TNC_ATTRIBUTEID_IFT_PROTOCOL);
        t_v = get_str_attribute(this, conn_id, TNC_ATTRIBUTEID_IFT_VERSION);
 
+       state->set_flags(state, has_long, has_excl);
+
        DBG2(DBG_IMV, "IMV %u \"%s\" created a state for Connection ID %u: "
                                  "%s %s with %slong %sexcl %ssoh over %s %s",
                                  this->id, this->name, conn_id, tnccs_p ? tnccs_p:"?",