[Nut-upsdev] infinite loop in clients/upsclient.c connect

Arjen de Korte nut+devel at de-korte.org
Mon Mar 12 09:24:59 CET 2007


> I'm not sure about the logic inside the switch statement in general,
> actually. If the error is EAFNOSUPPORT, I would think we would need
> more than just to break out of the switch statement.

Yes, I goofed up BIG TIME here. We should really move to the next addrinfo
element, rather than retrying connect() ad infinum. I'll post an update
later today.

Best regards, Arjen




More information about the Nut-upsdev mailing list