Resolve hosts before reauthenticating due to address change.

This commit is contained in:
Tobias Brunner
2012-05-25 17:05:53 +02:00
parent c6da59f014
commit a46fe56858
+2
View File
@@ -1815,6 +1815,8 @@ METHOD(ike_sa_t, roam, status_t,
return SUCCESS;
}
DBG1(DBG_IKE, "reauthenticating IKE_SA due to address change");
/* since our previous path is not valid anymore, try and find a new one */
resolve_hosts(this);
return reauth(this);
}