From b37d6337bfca95a2d8293c02b4fd7c9d127ee29e Mon Sep 17 00:00:00 2001 From: Yonezawa-T2 <Yonezawa-T2@mail.dnp.co.jp> Date: Wed, 13 Jan 2016 10:02:08 +0900 Subject: [PATCH] shell: fixed ncache arguments parsing --- sys/shell/commands/sc_ipv6_nc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/shell/commands/sc_ipv6_nc.c b/sys/shell/commands/sc_ipv6_nc.c index d4b2ced582..a4dcc166dd 100644 --- a/sys/shell/commands/sc_ipv6_nc.c +++ b/sys/shell/commands/sc_ipv6_nc.c @@ -179,7 +179,7 @@ static int _ipv6_nc_add(int argc, char **argv) } if ((l2_addr_str != NULL) && (l2_addr_len = gnrc_netif_addr_from_str(l2_addr, sizeof(l2_addr), - argv[1])) == 0) { + l2_addr_str)) == 0) { puts("error: unable to parse link-layer address."); return 1; } -- GitLab