summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorAltF4 <altf4@phx2600.org>2011-02-23 21:33:06 -0700
committerNick Mathewson <nickm@torproject.org>2011-02-25 11:57:16 -0500
commit612c7f32424d31dac51baad22e17ff4faf2b9b43 (patch)
treefe5a8390056e45c0c1e1e6fe56a0f0d527d32cc7 /src/or/command.c
parent24096d0cec3084b2cbc1c35cbb26a5d92dd4add2 (diff)
downloadtor-612c7f32424d31dac51baad22e17ff4faf2b9b43.tar.gz
tor-612c7f32424d31dac51baad22e17ff4faf2b9b43.zip
Fix for #1074 previous rev
Changed tor_addr_from_ipv4n to tor_addr_from_ipv4h and changed descriptor_digest to identity_digest
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 44420c980b..ef3a55963c 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;
}
}