mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix for #1074 previous rev
Changed tor_addr_from_ipv4n to tor_addr_from_ipv4h and changed descriptor_digest to identity_digest
This commit is contained in:
parent
24096d0cec
commit
612c7f3242
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user