Date: Thu, 2 Feb 2006 19:02:42 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup proto.c Message-ID: <200602021902.k12J2gku007463@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2006-02-02 19:02:42 UTC FreeBSD projects repository Modified files: csup proto.c Log: Slightly rework proto_connect() so that: - We don't print an error if the socket() call fails with EPROTONOTSUPP. Since we use getaddrinfo() in csup, we may get several addresses for one hostname, and some of them might be IPv6 so if the host running csup doesn't support IPv6, that can happen and confuse people. - Only print the "Cannot connect" message once. I should probably add the usual -4 and -6 switches to csup now. Revision Changes Path 1.57 +13 -5 projects/csup/proto.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602021902.k12J2gku007463>