mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Refresh references db after calling delete method
This commit is contained in:
parent
928443c5c8
commit
8d55820ed1
1 changed files with 4 additions and 0 deletions
|
|
@ -587,6 +587,10 @@ int bbfdm_del_handler(struct ubus_context *ctx, struct ubus_object *obj,
|
|||
bbf_cleanup(&data.bbf_ctx);
|
||||
free_path_list(&paths_list);
|
||||
|
||||
if (!fault) {
|
||||
bbfdm_refresh_references(data.bbf_ctx.dm_type, obj->name);
|
||||
}
|
||||
|
||||
ubus_send_reply(ctx, req, data.bb.head);
|
||||
blob_buf_free(&data.bb);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue