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

Re: [tor-bugs] #4636 [Tor Client]: Add GETINFO interface_address



#4636: Add GETINFO interface_address
-------------------------+--------------------------------------------------
 Reporter:  krkhan       |          Owner:  krkhan
     Type:  enhancement  |         Status:  new   
 Priority:  normal       |      Milestone:        
Component:  Tor Client   |        Version:        
 Keywords:               |         Parent:        
   Points:               |   Actualpoints:        
-------------------------+--------------------------------------------------

Comment(by rransom):

 From src/common/address.c:
 {{{
 /** Set *<b>addr</b> to the IP address (if any) of whatever interface
  * connects to the Internet.  This address should only be used in checking
  * whether our address has changed.  Return 0 on success, -1 on failure.
  */
 int
 get_interface_address6(int severity, sa_family_t family, tor_addr_t *addr)
 }}}

 I'm not exposing this function to the control port if its result âshould
 only be used in checking whether our address has changedâ.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4636#comment:1>
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