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 <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2016-05-26 15:11:49 +03:00
commit 2dab1d7371

View file

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