mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
play make-believe that addr isn't a uint32_t
svn:r19293
This commit is contained in:
parent
fa003351ae
commit
9c6b135e1a
@ -2796,7 +2796,7 @@ connection_exit_connect_dir(edge_connection_t *exitconn)
|
||||
|
||||
dirconn = dir_connection_new(AF_INET);
|
||||
|
||||
dirconn->_base.addr = exitconn->_base.addr;
|
||||
tor_addr_assign(&dirconn->_base.addr, &exitconn->_base.addr);
|
||||
dirconn->_base.port = 0;
|
||||
dirconn->_base.address = tor_strdup(exitconn->address);
|
||||
dirconn->_base.type = CONN_TYPE_DIR;
|
||||
|
Loading…
Reference in New Issue
Block a user