[tor-bugs] #20218 [Core Tor/Tor]: Fix and refactor and redocument routerstatus_has_changed
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jan 28 05:14:57 UTC 2018
#20218: Fix and refactor and redocument routerstatus_has_changed
-------------------------------------------------+-------------------------
Reporter: nickm | Owner: (none)
Type: defect | Status:
| needs_revision
Priority: Medium | Milestone: Tor:
| 0.3.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: ipv6, 029-proposed, tor-control, | Actual Points:
easy, spec-conformance |
Parent ID: | Points: .1
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by teor):
Thanks! The check for tor_addr_compare() is around the wrong way.
Just like ==, tor_addr_compare() returns true when it's arguments are
equal.
You need to add a ! before the function call.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20218#comment:26>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list