Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectd: Do not clobber the for-variable when resolving over DNS
We were using `i` as index variable in two nested loops. This works as long as the DNS seed resolves to a single address, but will crash if the node has both an A as well as an AAAA entry, at which point we'll try to index the hostname without a matching entry. Signed-off-by: Christian Decker <@cdecker>
- Loading branch information