commit 612c7f32424d31dac51baad22e17ff4faf2b9b43 Author: AltF4 altf4@phx2600.org Date: Wed Feb 23 21:33:06 2011 -0700
Fix for #1074 previous rev
Changed tor_addr_from_ipv4n to tor_addr_from_ipv4h and changed descriptor_digest to identity_digest --- src/or/command.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/or/command.c b/src/or/command.c index 44420c9..ef3a559 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -654,10 +654,10 @@ command_process_netinfo_cell(cell_t *cell, or_connection_t *conn) routerstatus_t *any_trusted_dir = router_pick_trusteddirserver(NO_AUTHORITY, 0); tor_addr_t trusted_dir_addr; - tor_addr_from_ipv4n(&trusted_dir_addr, any_trusted_dir->addr); + tor_addr_from_ipv4h(&trusted_dir_addr, any_trusted_dir->addr); connection_or_connect(&trusted_dir_addr, any_trusted_dir->or_port, - any_trusted_dir->descriptor_digest); + any_trusted_dir->identity_digest); received_netinfo_from_trusted_dir = 1; } }