Properly initialize src in ike_sa_t.is_any_path_valid().
This commit is contained in:
@@ -1873,7 +1873,7 @@ static bool is_any_path_valid(private_ike_sa_t *this)
|
|||||||
{
|
{
|
||||||
bool valid = FALSE;
|
bool valid = FALSE;
|
||||||
enumerator_t *enumerator;
|
enumerator_t *enumerator;
|
||||||
host_t *src, *addr;
|
host_t *src = NULL, *addr;
|
||||||
|
|
||||||
DBG1(DBG_IKE, "old path is not available anymore, try to find another");
|
DBG1(DBG_IKE, "old path is not available anymore, try to find another");
|
||||||
enumerator = this->peer_addresses->create_enumerator(this->peer_addresses);
|
enumerator = this->peer_addresses->create_enumerator(this->peer_addresses);
|
||||||
|
|||||||
Reference in New Issue
Block a user