From 156343b7140cf5e978340c631a80afa94a5d86fd Mon Sep 17 00:00:00 2001 From: Amin Ben Ramdhane Date: Thu, 8 Sep 2022 21:22:38 +0100 Subject: [PATCH] T#7819: failed to delete newly created Ethernet.Link. Object --- dmtree/tr181/ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmtree/tr181/ethernet.c b/dmtree/tr181/ethernet.c index 00aa484d..c723d9dc 100644 --- a/dmtree/tr181/ethernet.c +++ b/dmtree/tr181/ethernet.c @@ -410,7 +410,7 @@ static int delObjEthernetLink(char *refparam, struct dmctx *ctx, void *data, cha // Check each network section in the list of sections if (*sect_name == '\0') - return -1; + break; section_list = dmstrdup(sect_name); for (pch = strtok_r(section_list, ",", &pchr); pch != NULL; pch = strtok_r(NULL, ",", &pchr)) {