Merge pull request #1767 from simonduq/pr/missing-return

RPL: added missing return, to not join instances with unsupported MOP
This commit is contained in:
Nicolas Tsiftes 2016-07-15 21:10:57 +02:00 committed by GitHub
commit 8a5886dfa1

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