Get rid of platform and only support ipv4