RPL: added missing return, to not join instances with unsupported MOP

This commit is contained in:
Simon Duquennoy 2016-07-05 12:13:46 +02:00
parent 5eb022fdd8
commit 4ceaaba4bd

View File

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