shell_commands: fix regression to ifconfig introduced in #10350

The indentation of `ifconfig` is currently broken, due to an attempt to
fix some `scan-build` errors.
This commit is contained in:
Martine S. Lenders 2019-06-26 10:30:26 +02:00
parent 56085b10a0
commit 299c1a2959

View File

@ -378,7 +378,7 @@ 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)
@ -386,8 +386,9 @@ 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