Browse Source

Merge pull request #5931 from miri64/sc_ipv6_nc/fix/5930

shell: ncache: Fix #5930
pr/spi.typo
Martine Lenders 6 years ago committed by GitHub
parent
commit
5d9e76620b
  1. 4
      sys/shell/commands/sc_ipv6_nc.c

4
sys/shell/commands/sc_ipv6_nc.c

@ -237,10 +237,10 @@ int _ipv6_nc_manage(int argc, char **argv)
}
if (argc > 1) {
if (strcmp("add", argv[1]) == 0) {
if ((argc > 2) && (strcmp("add", argv[1]) == 0)) {
return _ipv6_nc_add(argc - 2, &argv[2]);
}
if (strcmp("del", argv[1]) == 0) {
if ((argc > 2) && (strcmp("del", argv[1]) == 0)) {
return _ipv6_nc_del(argv[2]);
}
if (strcmp("reset", argv[1]) == 0) {

Loading…
Cancel
Save