mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-03 11:30:53 +00:00
RPL: added missing return, to not join instances with unsupported MOP
This commit is contained in:
parent
5eb022fdd8
commit
4ceaaba4bd
@ -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
|
|| (!RPL_WITH_STORING && (dio->mop == RPL_MOP_STORING_NO_MULTICAST
|
||||||
|| dio->mop == RPL_MOP_STORING_MULTICAST))) {
|
|| dio->mop == RPL_MOP_STORING_MULTICAST))) {
|
||||||
PRINTF("RPL: DIO advertising a non-supported MOP %u\n", dio->mop);
|
PRINTF("RPL: DIO advertising a non-supported MOP %u\n", dio->mop);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Determine the objective function by using the
|
/* Determine the objective function by using the
|
||||||
|
Loading…
Reference in New Issue
Block a user