Merge remote-tracking branch 'tor-github/pr/1860/head'

This commit is contained in:
Nick Mathewson 2020-04-14 11:52:00 -04:00
commit 77e65076ab

View File

@ -2036,7 +2036,7 @@ router_build_fresh_unsigned_routerinfo,(routerinfo_t **ri_out))
/* For now, at most one IPv6 or-address is being advertised. */
tor_addr_port_t ipv6_orport;
router_get_advertised_ipv6_or_ap(options, &ipv6_orport);
/* If there is no valud IPv6 ORPort, the address and port are null. */
/* If there is no valid IPv6 ORPort, the address and port are null. */
tor_addr_copy(&ri->ipv6_addr, &ipv6_orport.addr);
ri->ipv6_orport = ipv6_orport.port;