On Fri, 22 May 2020 12:08:28 +0200, Alexander Bluhm wrote:

> On Wed, May 20, 2020 at 09:29:54PM -0400, sven falempin wrote:
> > ? Will it goes into base this time ?
>
> I need an OK from a developer.  Anyone?

I'm a little confused by the protocol handling in cfline.

        if (strcmp(proto, "udp") == 0) {
                if (fd_udp == -1)
                        proto = "udp6";
                if (fd_udp6 == -1)
                        proto = "udp4";
                ipproto = proto;
        }

Doesn't that mean that in the default case if a syslog server is
not reachable, proto will end up being set to "udp4" and not "udp"?
If so, then your diff will only retry udp4 on SIGHUP instead of
both udp4 and udp6.

 - todd

Reply via email to