From 3d2723b956c540552df96cee752f2bcc9c83e9a8 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 4 Oct 2024 02:59:30 +0000 Subject: s6-tcpclient noqualifies by default Signed-off-by: Laurent Bercot --- doc/s6-tcpclient.html | 4 ++-- src/conn-tools/s6-tcpclient.c | 2 +- 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. 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.
  • -n : qualify host when resolving it to -find suitable IP addresses. This is the default.
  • -
  • -N : do not qualify host.
  • +find suitable IP addresses. +
  • -N : do not qualify host. This is the default.
  • -t :timeout : put a global timeout on the connection attempt. If no fully functional connection has been established after timeout 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 ; -- cgit v1.2.3