Skip to content
Snippets Groups Projects
Commit e4225cce authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #6948 from kaspar030/fix_sc_gnrc_6ctx

sys: shell: gnrc_6ctx: fix gnrc_6ctx_add error handling (coccinelle)
parents 0aeeba74 7c20266a
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ int _gnrc_6ctx_add(char *cmd_str, char *ctx_str, char *prefix_str, char *ltime_s
return 1;
}
prefix_len_str = strtok_r(NULL, "/", &save_ptr);
if (addr_str == NULL) {
if (prefix_len_str == 0) {
_usage(cmd_str);
return 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment