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 patches to fix these problems later today, but I wanted to
report them here for reference.
I don't know enough about this to be sure that problem 2 is really a Cygwin bug.
Are there cases where a 0 IP address is appropriate? Or should it be up to
the caller of getifaddrs to handle that case?
Ken
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple