From 2dab1d7371623d1ebd8520073e186bc8ef54f6eb Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Thu, 26 May 2016 15:11:49 +0300 Subject: [PATCH] net: apps: Ignore multicast context get fails in echo-server The echo-server should work just fine even if the multicast context cannot be get. By default there are only two contexts so the multicast would fail always anyway and the program would not run properly. Change-Id: Ia9737cbda4a933a208aae020f055f0b6062b4f47 Signed-off-by: Jukka Rissanen --- samples/net/echo_server/src/echo-server.c | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/net/echo_server/src/echo-server.c b/samples/net/echo_server/src/echo-server.c index 538ba70f54e..aed8a510b76 100644 --- a/samples/net/echo_server/src/echo-server.c +++ b/samples/net/echo_server/src/echo-server.c @@ -267,7 +267,6 @@ static inline bool get_context(struct net_context **udp_recv, if (!*mcast_recv) { PRINT("%s: Cannot get receiving mcast network context\n", __func__); - return false; } return true;