The original message was wrong, because fail in that case didn't mean that
the socket is IPv6 only. I couldn't find a good description.


On Tue, Jan 21, 2014 at 12:56 PM, Edward Welbourne <notifications@github.com
> wrote:

> In cf-serverd/cf-serverd-functions.c:
>
> > @@ -522,8 +522,8 @@ int OpenReceiverChannel(void)
> >              if (setsockopt(sd, IPPROTO_IPV6, IPV6_V6ONLY,
> >                             &no, sizeof(no)) == -1)
> >              {
> > -                Log(LOG_LEVEL_WARNING,
> > -                    "Listening socket is IPv6-only. setsockopt: %s",
> > +                Log(LOG_LEVEL_VERBOSE,
> > +                    "Couldn't set the IPPROTO_IPV6:IPV6_V6ONLY socket option to 0 (setsockopt: %s)",
>
> I think it's better to to describe the problem in user-facing terms. The
> original message was better for that (albeit at the wrong loquacity level).
> At the very least, mention that it's the *listening* socket on which
> you're trying to clear the flag.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cfengine/core/pull/1320/files#r9034446>
> .
>