Use in6_localip() instead of hand-rolled cycle.

MFC after:	2 weeks