The loop was exited prematurely because of a stray break statement.
In case of a failure to connect to the first address returned by
getaddrinfo(3), acme-client can now try to connect using another address
or address family if available.
ok florian@
-/* $Id: dnsproc.c,v 1.11 2020/05/10 15:06:07 florian Exp $ */
+/* $Id: dnsproc.c,v 1.12 2021/12/13 13:30:39 jca Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
dodbg("%s: DNS: %s", s, vec[vecsz].ip);
vecsz++;
- break;
}
freeaddrinfo(res0);