Ticket refs #16153: TR-069: DeleteAll of the object is not working Device.ATM.Link.

This commit is contained in:
Omar Kallel 2018-11-06 00:05:02 +01:00
parent 1d2362e493
commit 295dafcf07

View file

@ -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);