Say private address instead of internal address.

Both are wrong or at least not entirely correct but nobody would
understand "special-use address as listed in RFC3330" I guess.


svn:r6236
This commit is contained in:
Peter Palfrader 2006-03-25 21:24:28 +00:00
parent f2abd7a69b
commit e90bebf27b

View File

@ -1605,8 +1605,8 @@ resolve_my_address(or_options_t *options, uint32_t *addr_out,
uint32_t interface_ip;
tor_inet_ntoa(&in,tmpbuf,sizeof(tmpbuf));
log_notice(LD_CONFIG, "Guessed local hostname '%s' resolves to an "
"internal IP address (%s). Trying something else.", hostname,
log_notice(LD_CONFIG, "Guessed local hostname '%s' resolves to a "
"private IP address (%s). Trying something else.", hostname,
tmpbuf);
if (get_interface_address(&interface_ip)) {
@ -1616,7 +1616,7 @@ resolve_my_address(or_options_t *options, uint32_t *addr_out,
struct in_addr in2;
in2.s_addr = htonl(interface_ip);
tor_inet_ntoa(&in2,tmpbuf,sizeof(tmpbuf));
log_notice(LD_CONFIG, "Interface IP '%s' is an internal address "
log_notice(LD_CONFIG, "Interface IP '%s' is a private address "
"too. Ignoring.", tmpbuf);
} else {
in.s_addr = htonl(interface_ip);