summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-10-04 02:59:30 +0000
committerLaurent Bercot <ska@appnovation.com>2024-10-04 02:59:30 +0000
commit3d2723b956c540552df96cee752f2bcc9c83e9a8 (patch)
tree390580e49b96a503a9bfb76aba166964d2064402
parente9b3fdb19cb1bcabbd1926ebe05f111cac30e233 (diff)
downloads6-networking-3d2723b956c540552df96cee752f2bcc9c83e9a8.tar.xz
s6-tcpclient noqualifies by default
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-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 ;