Add more RPL stats

This commit is contained in:
Laurent Deru 2014-01-16 09:24:55 +01:00
parent 7286c9a635
commit ccbfa388f6
3 changed files with 7 additions and 0 deletions

View file

@ -332,6 +332,7 @@ rpl_repair_root(uint8_t instance_id)
PRINTF("RPL: rpl_repair_root triggered but not root\n");
return 0;
}
RPL_STAT(rpl_stats.root_repairs++);
RPL_LOLLIPOP_INCREMENT(instance->current_dag->version);
RPL_LOLLIPOP_INCREMENT(instance->dtsn_out);