Skip to content

Commit

Permalink
shell_commands: fix regression to ifconfig introduced in #10350
Browse files Browse the repository at this point in the history
The indentation of `ifconfig` is currently broken, due to an attempt to
fix some `scan-build` errors.
  • Loading branch information
miri64 committed Jun 26, 2019
1 parent 56085b1 commit 299c1a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sys/shell/commands/sc_gnrc_netif.c
Expand Up @@ -378,16 +378,17 @@ static void _netif_list_ipv6(ipv6_addr_t *addr, uint8_t flags)
break;
}
}
puts("");
_newline(0U, _LINE_THRESHOLD);
}

static void _netif_list_groups(ipv6_addr_t *addr)
{
if ((ipv6_addr_is_multicast(addr))) {
char addr_str[IPV6_ADDR_MAX_STR_LEN];
ipv6_addr_to_str(addr_str, addr, sizeof(addr_str));
printf("inet6 group: %s\n", addr_str);
printf("inet6 group: %s", addr_str);
}
_newline(0U, _LINE_THRESHOLD);
}
#endif

Expand Down

0 comments on commit 299c1a2

Please sign in to comment.