Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki
This commit is contained in:
commit
4ab042eb9f
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ should_send_dao(rpl_dag_t *dag, rpl_dio_t *dio, rpl_parent_t *p)
|
|||
{
|
||||
/* if MOP is set to no downward routes no DAO should be sent */
|
||||
if(dag->mop == RPL_MOP_NO_DOWNWARD_ROUTES) return 0;
|
||||
return dio->dtsn > p->dtsn && p == dag->preferred_parent;
|
||||
return dio->dtsn != p->dtsn && p == dag->preferred_parent;
|
||||
}
|
||||
/************************************************************************/
|
||||
static int
|
||||
|
|
Loading…
Reference in a new issue