pub fn parse_ip_addr(v: &str) -> Result<IpAddr, String>