[or-cvs] Say private address instead of internal address.

Peter Palfrader weasel at seul.org
Sat Mar 25 21:24:30 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv30732

Modified Files:
	config.c 
Log Message:
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.

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.543
retrieving revision 1.544
diff -u -p -d -r1.543 -r1.544
--- config.c	22 Mar 2006 00:52:36 -0000	1.543
+++ config.c	25 Mar 2006 21:24:28 -0000	1.544
@@ -1605,8 +1605,8 @@ resolve_my_address(or_options_t *options
         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
           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);



More information about the tor-commits mailing list