Add missing checks for non-IPv6 interfaces.

While here, remove some unnecessary checks for a NULL ifp.
Don't print warnings for non-IPv6-capable interfaces.