aboutsummaryrefslogtreecommitdiffstats
path: root/src/libimcv/imv/imv_agent.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-12-09 11:25:53 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-12-09 11:25:53 +0100
commite4e291d49963c41437cfc8d9ad8ccf46e263cbd2 (patch)
treeb14c79ab1aa93d2427b2d35a8424c9089d2ab587 /src/libimcv/imv/imv_agent.c
parent1ab8dff7fa48aa8cbf4755163b1e44e25b93e093 (diff)
downloadstrongswan-e4e291d49963c41437cfc8d9ad8ccf46e263cbd2.tar.bz2
strongswan-e4e291d49963c41437cfc8d9ad8ccf46e263cbd2.tar.xz
store the long and excl flags in the connection state
Diffstat (limited to 'src/libimcv/imv/imv_agent.c')
-rw-r--r--src/libimcv/imv/imv_agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libimcv/imv/imv_agent.c b/src/libimcv/imv/imv_agent.c
index 503b80346..f7ec0e674 100644
--- a/src/libimcv/imv/imv_agent.c
+++ b/src/libimcv/imv/imv_agent.c
@@ -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:"?",