summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-16 11:11:48 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-16 11:11:48 -0400
commitfeee44577133e0f76add0ae9c03d2b722f05cbb8 (patch)
treec3d26d844571646ae7783f5b955bd8d8f1fd79f8 /src/or/rendclient.c
parent1bb10353ff30626dae0540de7422e90b30bd68a6 (diff)
parentbe0e26272b3e795b902394acc9b66642fcdc1f21 (diff)
downloadtor-feee44577133e0f76add0ae9c03d2b722f05cbb8.tar.gz
tor-feee44577133e0f76add0ae9c03d2b722f05cbb8.zip
Merge remote-tracking branch 'origin/maint-0.2.5'
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index fa4dc0d9c9..bc34695bc0 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -271,7 +271,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
extend_info_t *extend_info = rendcirc->build_state->chosen_exit;
int klen;
/* nul pads */
- set_uint32(tmp+v3_shift+1, tor_addr_to_ipv4h(&extend_info->addr));
+ set_uint32(tmp+v3_shift+1, tor_addr_to_ipv4n(&extend_info->addr));
set_uint16(tmp+v3_shift+5, htons(extend_info->port));
memcpy(tmp+v3_shift+7, extend_info->identity_digest, DIGEST_LEN);
klen = crypto_pk_asn1_encode(extend_info->onion_key,