[tor-bugs] #2660 [Tor Client]: get_interface_address6() fixes
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Mar 5 14:20:43 UTC 2011
#2660: get_interface_address6() fixes
------------------------+---------------------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
piebeer noticed some problems with get_interface_address6() and provided a
patch:
connect's third argument should be dependent on address family, otherwise
connect might return einval. This apparently happened in #599 and #1141
too.
While looking at that, I noticed another issue:
the port is not set correctly for both families. Danieldg provided review
and assistance for this too.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2660>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list