mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Add smartlist_add() to get_lspecs_from_node)
This commit is contained in:
parent
368dc1003e
commit
27d34f36e0
@ -617,6 +617,7 @@ get_lspecs_from_node(const node_t *node, smartlist_t *lspecs)
|
|||||||
link_specifier_set_un_ipv6_port(ls, ap.port);
|
link_specifier_set_un_ipv6_port(ls, ap.port);
|
||||||
/* Sixteen bytes IPv6 and two bytes port. */
|
/* Sixteen bytes IPv6 and two bytes port. */
|
||||||
link_specifier_set_ls_len(ls, addr_len + sizeof(ap.port));
|
link_specifier_set_ls_len(ls, addr_len + sizeof(ap.port));
|
||||||
|
smartlist_add(lspecs, ls);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user