diff options
-rw-r--r-- | list.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -527,6 +527,9 @@ int uci_rename(struct uci_context *ctx, struct uci_ptr *ptr) free(e->name); e->name = n; + if (e->type == UCI_TYPE_SECTION) + uci_to_section(e)->anonymous = false; + return 0; } |