mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
The "exitcode" variable is set to 9 if a TCP connection fails, but is not reset to 0 if a subsequent TCP connection succeeds. This causes dig to return a non-zero exit code if it succeeds in getting a TCP response after a retry. Fix by resetting "exitcode" to 0 if connect_done() receives an event with the "result" field set to ISC_R_SUCCESS. |
||
|---|---|---|
| .. | ||
| include/dig | ||
| win32 | ||
| .gitignore | ||
| dig.1 | ||
| dig.c | ||
| dig.docbook | ||
| dig.html | ||
| dighost.c | ||
| host.1 | ||
| host.c | ||
| host.docbook | ||
| host.html | ||
| Makefile.in | ||
| nslookup.1 | ||
| nslookup.c | ||
| nslookup.docbook | ||
| nslookup.html | ||