From aa04f8afbf1260b67c7bb97525bb1debb1dc9203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Corbal=C3=A1n?= Date: Mon, 27 Jul 2015 16:36:45 +0100 Subject: [PATCH] Changed RPL IPv6 NBR Callback print statement --- core/net/rpl/rpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/rpl/rpl.c b/core/net/rpl/rpl.c index db5230611..dc66528d3 100644 --- a/core/net/rpl/rpl.c +++ b/core/net/rpl/rpl.c @@ -277,9 +277,9 @@ rpl_ipv6_neighbor_callback(uip_ds6_nbr_t *nbr) rpl_instance_t *instance; rpl_instance_t *end; - PRINTF("RPL: Removing neighbor "); + PRINTF("RPL: Neighbor state changed for "); 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) { if(instance->used == 1 ) { p = rpl_find_parent_any_dag(instance, &nbr->ipaddr);