From 295dafcf076f5eb7a142d9f475ae0944adb44609 Mon Sep 17 00:00:00 2001 From: Omar Kallel Date: Tue, 6 Nov 2018 00:05:02 +0100 Subject: [PATCH] Ticket refs #16153: TR-069: DeleteAll of the object is not working Device.ATM.Link. --- dm/dmtree/tr181/wan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dm/dmtree/tr181/wan.c b/dm/dmtree/tr181/wan.c index 7e9a465..d917843 100644 --- a/dm/dmtree/tr181/wan.c +++ b/dm/dmtree/tr181/wan.c @@ -865,7 +865,7 @@ int delete_atm_link(char *refparam, struct dmctx *ctx, void *data, char *instanc ss = s; } if (ss != NULL) { - get_dmmap_section_of_config_section("dmmap_dsl", "atm-device", section_name(s), &dmmap_section); + get_dmmap_section_of_config_section("dmmap_dsl", "atm-device", section_name(ss), &dmmap_section); if(dmmap_section != NULL) dmuci_delete_by_section(dmmap_section, NULL, NULL); dmuci_get_value_by_section_string(ss, "device", &ifname);