Revert hardcoding ipv4