Re: Problems with getifaddrs

2021-07-29 Thread Ken Brown via Cygwin
On 7/26/2021 7:04 PM, Andrey Repin wrote: There's actually no IP address assigned to TAP55, which could be reported as 0/0. Follow-up for the sake of the archives: The question I raised is whether getifaddrs *should* report an IP address of 0/0 in this case. After checking what happens on

Re: Problems with getifaddrs

2021-07-26 Thread Andrey Repin
Greetings, Ken Brown! > While investigating emacs test failures, I found two problems with the > interfaces returned by getifaddrs(3): > 1. For an IPv6 interface, the netmask address family is always 0 instead of > AF_INET6. > 2. For a disconnected interface, the IPv4 address and netmask are

Problems with getifaddrs

2021-07-26 Thread Ken Brown via Cygwin
While investigating emacs test failures, I found two problems with the interfaces returned by getifaddrs(3): 1. For an IPv6 interface, the netmask address family is always 0 instead of AF_INET6. 2. For a disconnected interface, the IPv4 address and netmask are sometimes 0. I will be sending