diff --git a/sys/shell/commands/sc_netif.c b/sys/shell/commands/sc_netif.c index 8c4f57286996d083a1c68a762ac87ef8c71422e5..c362229d512d1aacce3800f380caf1a9f17419a4 100644 --- a/sys/shell/commands/sc_netif.c +++ b/sys/shell/commands/sc_netif.c @@ -264,6 +264,9 @@ static void _print_netopt_state(netopt_state_t state) case NETOPT_STATE_SLEEP: printf("SLEEP"); break; + case NETOPT_STATE_STANDBY: + printf("STANDBY"); + break; case NETOPT_STATE_IDLE: printf("IDLE"); break; @@ -277,6 +280,7 @@ static void _print_netopt_state(netopt_state_t state) printf("RESET"); break; default: + printf("%08x", (unsigned int)state); /* nothing to do then */ break; }