From e25ee2c3fbfa6598763cb2cc327e89bb477f0505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kruszewski?= Date: Wed, 20 Sep 2017 16:24:33 +0200 Subject: [PATCH] samples: net: Fix wrong error logging information in echo client. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When TCP connection over IPv4 could not be established there was an error about TCP connection over IPv6. Signed-off-by: MichaƂ Kruszewski --- samples/net/echo_client/src/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/net/echo_client/src/tcp.c b/samples/net/echo_client/src/tcp.c index 1d643678078..05c5fa270a0 100644 --- a/samples/net/echo_client/src/tcp.c +++ b/samples/net/echo_client/src/tcp.c @@ -348,7 +348,7 @@ int start_tcp(void) K_THREAD_STACK_SIZEOF( net_app_tls_stack_ipv4)); if (ret < 0) { - NET_ERR("Cannot init IPv6 TCP client (%d)", ret); + NET_ERR("Cannot init IPv4 TCP client (%d)", ret); } }