summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/s6-tcpclient.html4
-rw-r--r--src/conn-tools/s6-tcpclient.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/s6-tcpclient.html b/doc/s6-tcpclient.html
index 39da083..f7f902f 100644
--- a/doc/s6-tcpclient.html
+++ b/doc/s6-tcpclient.html
@@ -102,8 +102,8 @@ voids any kind of lookup. </li>
via DNS. The default, when this option is not given, is to look up the
local and remote host IPs in the DNS database to get the corresponding names. </li>
<li> <tt>-n</tt>&nbsp;: qualify <em>host</em> when resolving it to
-find suitable IP addresses. This is the default. </li>
- <li> <tt>-N</tt>&nbsp;: do not qualify <em>host</em>. </li>
+find suitable IP addresses. </li>
+ <li> <tt>-N</tt>&nbsp;: do not qualify <em>host</em>. This is the default. </li>
<li> <tt>-t&nbsp;:<em>timeout</em></tt>&nbsp;: put a global timeout
on the connection attempt. If no fully functional connection has been
established after <em>timeout</em> seconds, abort the program. By
diff --git a/src/conn-tools/s6-tcpclient.c b/src/conn-tools/s6-tcpclient.c
index 1dea006..576d746 100644
--- a/src/conn-tools/s6-tcpclient.c
+++ b/src/conn-tools/s6-tcpclient.c
@@ -69,7 +69,7 @@ struct tflags_s
.remoteinfo = 0, \
.remotehost = 1, \
.hosts = 0, \
- .qualif = 1 \
+ .qualif = 0 \
}
static tain deadline ;