Added condition to handle servers with no ipv4 address