From 4ceaaba4bde36404a3c4fdfd4cddf396a6eae92a Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Tue, 5 Jul 2016 12:13:46 +0200 Subject: [PATCH] RPL: added missing return, to not join instances with unsupported MOP --- core/net/rpl/rpl-dag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/net/rpl/rpl-dag.c b/core/net/rpl/rpl-dag.c index 4e9af23f7..de5932692 100644 --- a/core/net/rpl/rpl-dag.c +++ b/core/net/rpl/rpl-dag.c @@ -1086,6 +1086,7 @@ rpl_join_instance(uip_ipaddr_t *from, rpl_dio_t *dio) || (!RPL_WITH_STORING && (dio->mop == RPL_MOP_STORING_NO_MULTICAST || dio->mop == RPL_MOP_STORING_MULTICAST))) { PRINTF("RPL: DIO advertising a non-supported MOP %u\n", dio->mop); + return; } /* Determine the objective function by using the