summaryrefslogtreecommitdiff
path: root/sys/net/debugnet.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-06-16 14:05:10 +0000
committerMark Johnston <markj@FreeBSD.org>2022-06-30 14:12:15 +0000
commit70fd40edb869441a8c9b7acc920ea302c02949f0 (patch)
tree950abcaadca7303d8d29de4a9bc4519facebd7c8 /sys/net/debugnet.c
parent533a247fa84ebf33a3f9f7c596e7e6fa629c1680 (diff)
Diffstat (limited to 'sys/net/debugnet.c')
-rw-r--r--sys/net/debugnet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/debugnet.c b/sys/net/debugnet.c
index a197017c1767..3295b33c3dd6 100644
--- a/sys/net/debugnet.c
+++ b/sys/net/debugnet.c
@@ -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 {