diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-15 04:00:14 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-15 04:00:14 +0000 |
commit | be18884765d1e59b3c444679da410d955433116b (patch) | |
tree | 0bc6ed31eed6bfc261a8170c752365c0a785d81c /src | |
parent | 6a2821a7ff1781c25dd966825b6e9795bf2b1700 (diff) | |
download | tor-be18884765d1e59b3c444679da410d955433116b.tar.gz tor-be18884765d1e59b3c444679da410d955433116b.zip |
and another one
svn:r1278
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index e06a22a3fd..8b73003106 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -376,7 +376,7 @@ static int resolve_my_address(or_options_t *options) { } assert(rent->h_length == 4); memcpy(&in.s_addr, rent->h_addr,rent->h_length); - if(is_internal_IP(in.s_addr)) { + if(is_internal_IP(htonl(in.s_addr))) { log_fn(LOG_WARN,"Address '%s' resolves to private IP '%s'. " "Please set the Address config option to be your public IP.", options->Address, inet_ntoa(in)); |