projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a871e1
)
libubus: add method to policy
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 02:53:09 +0000
(
03:53
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 02:53:09 +0000
(
03:53
+0100)
libubus.c
patch
|
blob
|
history
diff --git
a/libubus.c
b/libubus.c
index 93f9bac3483b441576eaeb9f68d6319f364c279c..d90dc1f5c8392819c92af34348df0f5e6c414b2c 100644
(file)
--- a/
libubus.c
+++ b/
libubus.c
@@
-35,6
+35,7
@@
static const struct blob_attr_info ubus_policy[UBUS_ATTR_MAX] = {
[UBUS_ATTR_STATUS] = { .type = BLOB_ATTR_INT32 },
[UBUS_ATTR_OBJID] = { .type = BLOB_ATTR_INT32 },
[UBUS_ATTR_OBJPATH] = { .type = BLOB_ATTR_STRING },
+ [UBUS_ATTR_METHOD] = { .type = BLOB_ATTR_STRING },
};
static struct blob_attr *attrbuf[UBUS_ATTR_MAX];