add support for interfaces with ipv6, but no ipv4 (patch from #2695)