mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue