simplify a log entry

svn:r5353
This commit is contained in:
Roger Dingledine 2005-11-11 17:03:35 +00:00
parent c074f528c1
commit e6fd88c698

View File

@ -1856,7 +1856,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. */
notice(LD_NET, "Our IP has changed. Rotating keys..."); log(LOG_NOTICE, LD_NET, "Our IP has changed. Rotating keys...");
last_interface_ip = iface_ip; last_interface_ip = iface_ip;
SMARTLIST_FOREACH(outgoing_addrs, void*, ip, tor_free(ip)); SMARTLIST_FOREACH(outgoing_addrs, void*, ip, tor_free(ip));
smartlist_clear(outgoing_addrs); smartlist_clear(outgoing_addrs);