mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
Properly initialize src in ike_sa_t.is_any_path_valid().
This commit is contained in:
parent
367e1e22b8
commit
ae9ce83511
@ -1873,7 +1873,7 @@ static bool is_any_path_valid(private_ike_sa_t *this)
|
||||
{
|
||||
bool valid = FALSE;
|
||||
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");
|
||||
enumerator = this->peer_addresses->create_enumerator(this->peer_addresses);
|
||||
|
Loading…
x
Reference in New Issue
Block a user