fixed RPL statistics bug and added parent switch stats

This commit is contained in:
Joakim Eriksson 2011-03-15 14:14:41 +01:00
parent 7033bc859e
commit 5f4d4550fc
3 changed files with 3 additions and 1 deletions

View file

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