diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-15 20:26:05 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-15 20:26:05 +0000 |
commit | ee5f512e13c846c9639f5a5d5a0e7fd75b595207 (patch) | |
tree | 5aa627caebc85c86a7601a49057a35c909420ada /src/or/router.c | |
parent | 3d79eb52abf20c64e02dfae1c993d5c83ddf57da (diff) | |
download | tor-ee5f512e13c846c9639f5a5d5a0e7fd75b595207.tar.gz tor-ee5f512e13c846c9639f5a5d5a0e7fd75b595207.zip |
parameterize the loudness of resolve_my_address(), and call things
IP addresses, not IPs.
svn:r6764
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index 813069803d..9f7913cf65 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -752,7 +752,7 @@ router_rebuild_descriptor(int force) if (desc_clean_since && !force) return 0; - if (resolve_my_address(options, &addr, NULL) < 0) { + if (resolve_my_address(LOG_WARN, options, &addr, NULL) < 0) { log_warn(LD_CONFIG,"options->Address didn't resolve into an IP."); return -1; } @@ -908,7 +908,7 @@ check_descriptor_ipaddress_changed(time_t now) return; prev = desc_routerinfo->addr; - if (resolve_my_address(options, &cur, NULL) < 0) { + if (resolve_my_address(LOG_WARN, options, &cur, NULL) < 0) { log_warn(LD_CONFIG,"options->Address didn't resolve into an IP."); return; } |