mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Update UCI max section length
This commit is contained in:
parent
7a21881293
commit
9a3f9c0327
1 changed files with 2 additions and 2 deletions
|
|
@ -579,7 +579,7 @@ int dmuci_delete(char *package, char *section, char *option, char *value)
|
|||
int dmuci_rename_section(char *package, char *section, char *value)
|
||||
{
|
||||
struct uci_ptr ptr = {0};
|
||||
char sec_name[32] = {0};
|
||||
char sec_name[128] = {0};
|
||||
|
||||
dmuci_replace_invalid_characters_from_section_name(value, sec_name, sizeof(sec_name));
|
||||
|
||||
|
|
@ -777,7 +777,7 @@ int dmuci_del_list_value_by_section(struct uci_section *s, char *option, char *v
|
|||
int dmuci_rename_section_by_section(struct uci_section *s, char *value)
|
||||
{
|
||||
struct uci_ptr up = {0};
|
||||
char sec_name[32] = {0};
|
||||
char sec_name[128] = {0};
|
||||
|
||||
dmuci_replace_invalid_characters_from_section_name(value, sec_name, sizeof(sec_name));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue