I discovered that when asking for the IFLIST via sysctl(), if you specify only AF_INET address, it actually gives you only AF_INET.. (suprise, suprise..!) Now, it should "do the right thing" in just about all cases... The only problem, is that "the right thing" isn't exactly clear in all cases. |
||
---|---|---|
.. | ||
ifconfig.8 | ||
ifconfig.c | ||
Makefile |