Make set_routerstatus_from_routerinfo() set IPv6 unspecified addresses
commitf1a5000b98c4f0e5ee1618165bde533aaff0fd79
authorteor <teor2345@gmail.com>
Sun, 15 Oct 2017 18:36:06 +0000 (15 14:36 -0400)
committerteor <teor2345@gmail.com>
Sat, 2 Dec 2017 10:00:22 +0000 (2 21:00 +1100)
tree2e1ee81640893252464e301992003a3874f88364
parentcf3da63b9023875e93c05d30fb6d76e047bebe70
Make set_routerstatus_from_routerinfo() set IPv6 unspecified addresses

When creating a routerstatus (vote) from a routerinfo (descriptor),
set the IPv6 address to the unspecified IPv6 address, and explicitly
initialise the port to zero.

Also clarify the documentation for the function.

Fixes bug 24488; bugfix on 0.2.4.1-alpha.
changes/bug24488 [new file with mode: 0644]
src/or/dirserv.c