summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-tcpclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn-tools/s6-tcpclient.c')
-rw-r--r--src/conn-tools/s6-tcpclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/s6-tcpclient.c b/src/conn-tools/s6-tcpclient.c
index 4686636..f2cb9d7 100644
--- a/src/conn-tools/s6-tcpclient.c
+++ b/src/conn-tools/s6-tcpclient.c
@@ -113,7 +113,7 @@ int main (int argc, char const *const *argv)
tain_now_g() ;
if (flags.timeout) tain_addsec_g(&deadline, flags.timeout) ;
else tain_add_g(&deadline, &tain_infinite_relative) ;
-
+ if (!s6dns_init()) strerr_diefu1sys(111, "init DNS") ;
{
ip46_t ip[2][MAXIP] ;
unsigned int j = 0 ;