diff options
author | Neel Chauhan <neel@neelc.org> | 2017-11-16 12:37:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-17 08:42:07 -0500 |
commit | 27d34f36e07b876321a03fbb59533b72b807b679 (patch) | |
tree | e136b7bbf6eea88eb7d30d77abebcf6fc28249f6 /src/or/hs_circuit.c | |
parent | 368dc1003eeb58ad11e1eb13904ef7f79ef019d1 (diff) | |
download | tor-27d34f36e07b876321a03fbb59533b72b807b679.tar.gz tor-27d34f36e07b876321a03fbb59533b72b807b679.zip |
Add smartlist_add() to get_lspecs_from_node)
Diffstat (limited to 'src/or/hs_circuit.c')
-rw-r--r-- | src/or/hs_circuit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c index 26fe22eb7b..9e7709504b 100644 --- a/src/or/hs_circuit.c +++ b/src/or/hs_circuit.c @@ -617,6 +617,7 @@ get_lspecs_from_node(const node_t *node, smartlist_t *lspecs) link_specifier_set_un_ipv6_port(ls, ap.port); /* Sixteen bytes IPv6 and two bytes port. */ link_specifier_set_ls_len(ls, addr_len + sizeof(ap.port)); + smartlist_add(lspecs, ls); } } |