fixed RPL statistics bug and added parent switch stats
This commit is contained in:
parent
7033bc859e
commit
5f4d4550fc
3 changed files with 3 additions and 1 deletions
|
@ -571,7 +571,7 @@ dao_input(void)
|
|||
|
||||
rep = rpl_add_route(dag, &prefix, prefixlen, &dao_sender_addr);
|
||||
if(rep == NULL) {
|
||||
RPL_STAT(rpl_stats.memory_overflows++);
|
||||
RPL_STAT(rpl_stats.mem_overflows++);
|
||||
PRINTF("RPL: Could not add a route after receiving a DAO\n");
|
||||
return;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue