Browse Source

Add smartlist_add() to get_lspecs_from_node)

Neel Chauhan 6 years ago
parent
commit
27d34f36e0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/hs_circuit.c

+ 1 - 0
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);
   }
 }