diff --git a/subsys/net/ip/connection.c b/subsys/net/ip/connection.c index c5542d1238a..0d3b4f93640 100644 --- a/subsys/net/ip/connection.c +++ b/subsys/net/ip/connection.c @@ -352,6 +352,8 @@ int net_conn_register(uint16_t proto, uint8_t family, conn = conn_get_unused(); if (!conn) { + NET_ERR("Not enough connection contexts. " + "Consider increasing CONFIG_NET_MAX_CONN."); return -ENOENT; }