From 53fd4b6239d6e46e97b8296b3b0d8096c20e4c86 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 18 Sep 2015 15:59:28 +0200 Subject: [PATCH] sc_ipv6_nc: Use more letters for type I was myself a little confused when I saw `R` for a registered address, since I interpreted it as "router" (though the node wasn't supposed to be a router). After a wild goose chase for wrongly set flags through the code I found that `R` stands for "REGISTERED". To prevent such a thing in the future I opted for fixing this in the output. --- sys/shell/commands/sc_ipv6_nc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/shell/commands/sc_ipv6_nc.c b/sys/shell/commands/sc_ipv6_nc.c index f04cf2c643..d4b2ced582 100644 --- a/sys/shell/commands/sc_ipv6_nc.c +++ b/sys/shell/commands/sc_ipv6_nc.c @@ -72,11 +72,11 @@ static void _print_nc_type(gnrc_ipv6_nc_t *entry) break; case GNRC_IPV6_NC_TYPE_TENTATIVE: - printf("T"); + printf("TENT"); break; case GNRC_IPV6_NC_TYPE_REGISTERED: - printf("R"); + printf("REG"); break; default: