Validate returned ip