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.
This commit is contained in:
teor
2017-10-15 14:36:06 -04:00
parent cf3da63b90
commit f1a5000b98
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (directory authorities, IPv6):
- 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. Fixes bug 24488; bugfix on 0.2.4.1-alpha.