summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-30 05:54:39 +1000
committerteor <teor@torproject.org>2020-04-30 05:54:39 +1000
commitf62b051e873aa4be564e9f83745902d4541f79f4 (patch)
tree54500126c0d02cc0103c9bbc6964a603d9ca3f4c /src/core
parent528a1fe985fbcbd348825c5ab98d0e9018453c5b (diff)
downloadtor-f62b051e873aa4be564e9f83745902d4541f79f4.tar.gz
tor-f62b051e873aa4be564e9f83745902d4541f79f4.zip
Rename tor_addr_get_ipv6_bytes to tor_addr_copy_ipv6_bytes
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ tor_addr_get_ipv6_bytes tor_addr_copy_ipv6_bytes
Diffstat (limited to 'src/core')
-rw-r--r--src/core/or/onion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/onion.c b/src/core/or/onion.c
index d73f981d2c..923f850f2c 100644
--- a/src/core/or/onion.c
+++ b/src/core/or/onion.c
@@ -674,7 +674,7 @@ extend_cell_format(uint8_t *command_out, uint16_t *len_out,
extend2_cell_body_add_ls(cell, ls);
ls->ls_type = LS_IPV6;
ls->ls_len = 18;
- tor_addr_get_ipv6_bytes((char *)ls->un_ipv6_addr,
+ tor_addr_copy_ipv6_bytes((char *)ls->un_ipv6_addr,
&cell_in->orport_ipv6.addr);
ls->un_ipv6_port = cell_in->orport_ipv6.port;
}