Merge pull request #1547 from yatch/pr-fix-typos-in-prints
RPL: fix typos in debug messages
This commit is contained in:
commit
f5ea8e613e
|
@ -1282,7 +1282,7 @@ rpl_process_dio(uip_ipaddr_t *from, rpl_dio_t *dio)
|
||||||
PRINTF("RPL: Global repair\n");
|
PRINTF("RPL: Global repair\n");
|
||||||
if(dio->prefix_info.length != 0) {
|
if(dio->prefix_info.length != 0) {
|
||||||
if(dio->prefix_info.flags & UIP_ND6_RA_FLAG_AUTONOMOUS) {
|
if(dio->prefix_info.flags & UIP_ND6_RA_FLAG_AUTONOMOUS) {
|
||||||
PRINTF("RPL : Prefix announced in DIO\n");
|
PRINTF("RPL: Prefix announced in DIO\n");
|
||||||
rpl_set_prefix(dag, &dio->prefix_info.prefix, dio->prefix_info.length);
|
rpl_set_prefix(dag, &dio->prefix_info.prefix, dio->prefix_info.length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1338,7 +1338,7 @@ rpl_process_dio(uip_ipaddr_t *from, rpl_dio_t *dio)
|
||||||
/* Prefix Information Option treated to add new prefix */
|
/* Prefix Information Option treated to add new prefix */
|
||||||
if(dio->prefix_info.length != 0) {
|
if(dio->prefix_info.length != 0) {
|
||||||
if(dio->prefix_info.flags & UIP_ND6_RA_FLAG_AUTONOMOUS) {
|
if(dio->prefix_info.flags & UIP_ND6_RA_FLAG_AUTONOMOUS) {
|
||||||
PRINTF("RPL : Prefix announced in DIO\n");
|
PRINTF("RPL: Prefix announced in DIO\n");
|
||||||
rpl_set_prefix(dag, &dio->prefix_info.prefix, dio->prefix_info.length);
|
rpl_set_prefix(dag, &dio->prefix_info.prefix, dio->prefix_info.length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -161,7 +161,7 @@ handle_dio_timer(void *ptr)
|
||||||
#endif /* RPL_CONF_STATS */
|
#endif /* RPL_CONF_STATS */
|
||||||
dio_output(instance, NULL);
|
dio_output(instance, NULL);
|
||||||
} else {
|
} else {
|
||||||
PRINTF("RPL: Supressing DIO transmission (%d >= %d)\n",
|
PRINTF("RPL: Suppressing DIO transmission (%d >= %d)\n",
|
||||||
instance->dio_counter, instance->dio_redundancy);
|
instance->dio_counter, instance->dio_redundancy);
|
||||||
}
|
}
|
||||||
instance->dio_send = 0;
|
instance->dio_send = 0;
|
||||||
|
|
Loading…
Reference in a new issue