samples: net: Fix wrong error logging information in echo client.

When TCP connection over IPv4 could not be established there was
an error about TCP connection over IPv6.

Signed-off-by: Michał Kruszewski <michal.kruszewski@nordicsemi.no>
This commit is contained in:
Michał Kruszewski 2017-09-20 16:24:33 +02:00 committed by Anas Nashif
parent 8c708fd049
commit e25ee2c3fb

View File

@ -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);
}
}