Use OF_HAVE_IPV6 instead of HAVE_IPV6

This has always been wrong.