mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Changed RPL IPv6 NBR Callback print statement
This commit is contained in:
parent
414890be9e
commit
aa04f8afbf
@ -277,9 +277,9 @@ rpl_ipv6_neighbor_callback(uip_ds6_nbr_t *nbr)
|
|||||||
rpl_instance_t *instance;
|
rpl_instance_t *instance;
|
||||||
rpl_instance_t *end;
|
rpl_instance_t *end;
|
||||||
|
|
||||||
PRINTF("RPL: Removing neighbor ");
|
PRINTF("RPL: Neighbor state changed for ");
|
||||||
PRINT6ADDR(&nbr->ipaddr);
|
PRINT6ADDR(&nbr->ipaddr);
|
||||||
PRINTF("\n");
|
PRINTF(", nscount=%u, state=%u\n", nbr->nscount, nbr->state);
|
||||||
for(instance = &instance_table[0], end = instance + RPL_MAX_INSTANCES; instance < end; ++instance) {
|
for(instance = &instance_table[0], end = instance + RPL_MAX_INSTANCES; instance < end; ++instance) {
|
||||||
if(instance->used == 1 ) {
|
if(instance->used == 1 ) {
|
||||||
p = rpl_find_parent_any_dag(instance, &nbr->ipaddr);
|
p = rpl_find_parent_any_dag(instance, &nbr->ipaddr);
|
||||||
|
Loading…
Reference in New Issue
Block a user