diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-03-30 00:57:48 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-03-30 00:57:48 +0000 |
commit | 9c0d3aa37810ae37b82951986fb4170c39fc9c41 (patch) | |
tree | db23769e27020bfd83ae61fc85e481b2171d1c13 /src/conn-tools/s6-tcpclient.c | |
parent | bb68e38a10ff9932617cbaae9625bfa3e6b8e616 (diff) | |
download | s6-networking-9c0d3aa37810ae37b82951986fb4170c39fc9c41.tar.xz |
- Bugfix: s6-tcpclient and s6-tcpserver-access didn't s6dns_init()
- Version: rc for 2.1.0.1
Diffstat (limited to 'src/conn-tools/s6-tcpclient.c')
-rw-r--r-- | src/conn-tools/s6-tcpclient.c | 2 |
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 ; |