[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #2660 [Tor Client]: get_interface_address6() fixes



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs