Add smartlist_add() to get_lspecs_from_node)

This commit is contained in:
Neel Chauhan 2017-11-16 12:37:39 -05:00 committed by Nick Mathewson
parent 368dc1003e
commit 27d34f36e0

View File

@ -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);
}
}