Update state before triggering DPD, as we cancel it if PASSIVE

This commit is contained in:
Martin Willi
2012-03-20 17:31:38 +01:00
parent a46b8e16ad
commit 783c496966
+1
View File
@@ -672,6 +672,7 @@ METHOD(ike_sa_t, set_state, void,
{
if (supports_extension(this, EXT_DPD))
{
this->state = state;
send_dpd(this);
}
else