projects
/
project
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
970ce1a
)
uci: reset uci_ptr flags when merging options during section add
author
Jo-Philipp Wich
<jo@mein.io>
Tue, 26 May 2020 13:49:18 +0000
(15:49 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 26 May 2020 15:24:24 +0000
(17:24 +0200)
Fixes: FS#3126
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
078bb57e0769c987c05244abe1f7d8d53e0e323e
)
uci.c
patch
|
blob
|
history
diff --git
a/uci.c
b/uci.c
index 522c24e8d569bf92aa8e1cf65d91d7c972135183..327b17fcec6d80bc152bdfc1f7bc06925a0c22af 100644
(file)
--- a/
uci.c
+++ b/
uci.c
@@
-734,6
+734,7
@@
rpc_uci_add(struct ubus_context *ctx, struct ubus_object *obj,
{
blobmsg_for_each_attr(cur, tb[RPC_A_VALUES], rem)
{
+ ptr.flags = 0;
ptr.o = NULL;
ptr.option = blobmsg_name(cur);