mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
what, we went from v4 to v6?
svn:r14428
This commit is contained in:
parent
a1366be7ee
commit
5dc8062afa
@ -2636,7 +2636,7 @@ client_check_address_changed(int sock)
|
|||||||
} else {
|
} else {
|
||||||
/* The interface changed. We're a client, so we need to regenerate our
|
/* The interface changed. We're a client, so we need to regenerate our
|
||||||
* keys. First, reset the state. */
|
* keys. First, reset the state. */
|
||||||
log(LOG_NOTICE, LD_NET, "Our IP has changed. Rotating keys...");
|
log(LOG_NOTICE, LD_NET, "Our IP address has changed. Rotating keys...");
|
||||||
last_interface_ip = iface_ip;
|
last_interface_ip = iface_ip;
|
||||||
SMARTLIST_FOREACH(outgoing_addrs, void*, ip_ptr, tor_free(ip_ptr));
|
SMARTLIST_FOREACH(outgoing_addrs, void*, ip_ptr, tor_free(ip_ptr));
|
||||||
smartlist_clear(outgoing_addrs);
|
smartlist_clear(outgoing_addrs);
|
||||||
|
Loading…
Reference in New Issue
Block a user