cvs commit: projects/csup proto.c
Maxime Henrion
mux at FreeBSD.org
Thu Feb 2 11:02:43 PST 2006
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
More information about the cvs-projects
mailing list