Update state before triggering DPD, as we cancel it if PASSIVE
This commit is contained in:
@@ -672,6 +672,7 @@ METHOD(ike_sa_t, set_state, void,
|
|||||||
{
|
{
|
||||||
if (supports_extension(this, EXT_DPD))
|
if (supports_extension(this, EXT_DPD))
|
||||||
{
|
{
|
||||||
|
this->state = state;
|
||||||
send_dpd(this);
|
send_dpd(this);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user