> And we can't really suppress ~IFF_UP addresses from GLIFCONF output > easily because then we may end up suppressing the information for > net0 itself, and thereby confusing applications that see net0:1, net0:2 > etc, but no net0 itself.
Doesn't that already happen today in a zone? Or if certain aspects of the ipif are unusual and the opt-in flags like LIFC_ALLZONES or LIFC_TEMPORARY have not been set? Stepping back, SIOCG[L]IFCONF is very hard to program to. I think we should focus on providing better alternatives (like getifaddrs()). Ideally, there should be an API to get usable addresses, and another to get usable interfaces, as both the objects and the use-cases are different. -- meem _______________________________________________ networking-discuss mailing list [email protected]
