Use ohai attrs instead of IPAddr to determine if ipv4