Fix build with WITHOUT_INET6.

Spotted by:	bf
MFC after:	1 week