debugnet: Fix an error handling bug in the DDB command tokenizer
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8414331481
commit
c262d5e877
@ -1049,6 +1049,7 @@ debugnet_parse_ddb_cmd(const char *cmd, struct debugnet_ddb_config *result)
|
||||
if (ifp == NULL) {
|
||||
db_printf("Could not locate interface %s\n",
|
||||
db_tok_string);
|
||||
error = ENOENT;
|
||||
goto cleanup;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user