aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/wg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: style nitsJason A. Donenfeld2017-10-311-0/+1
|
* tools: retry resolution except when fatalJason A. Donenfeld2017-10-171-2/+2
| | | | | | | | | | | | | | | | | | | The reference to this is <https://sourceware.org/glibc/wiki/NameResolver>, which mentions: "From the perspective of the application that calls getaddrinfo() it perhaps doesn't matter that much since EAI_FAIL, EAI_NONAME and EAI_NODATA are all permanent failure codes and the causes are all permanent failures in the sense that there is no point in retrying later." This should cover more early-boot situations. While we're at it, we clean up the logic a bit so that we don't have a retry message on the final non-retrying attempt. We also peer into errno when receiving EAI_SYSTEM, to report to the user what actually happened. Also, fix the quoting back tick front tick mess.
* tools: no hyphen in preshared, to keep uniformityJason A. Donenfeld2017-04-201-1/+1
|
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* tools: improve error reporting and detectionJason A. Donenfeld2016-07-031-7/+8
|
* Initial commitJason A. Donenfeld2016-06-251-0/+66