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:
23c9984
)
export the object type through lookup calls
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 17:26:09 +0000
(18:26 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 17:26:09 +0000
(18:26 +0100)
ubusd_proto.c
patch
|
blob
|
history
diff --git
a/ubusd_proto.c
b/ubusd_proto.c
index 99d66917629cde9426da8d2e121783a6a0bdcd53..1b3216fba67163c1422350c83b8cd39f9239160d 100644
(file)
--- a/
ubusd_proto.c
+++ b/
ubusd_proto.c
@@
-100,6
+100,7
@@
static void ubusd_send_obj(struct ubus_client *cl, struct ubus_msg_buf *ub, stru
if (obj->path.key)
blob_put_string(&b, UBUS_ATTR_OBJPATH, obj->path.key);
blob_put_int32(&b, UBUS_ATTR_OBJID, obj->id.id);
+ blob_put_int32(&b, UBUS_ATTR_OBJTYPE, obj->type->id.id);
s = blob_nest_start(&b, UBUS_ATTR_SIGNATURE);
list_for_each_entry(m, &obj->type->methods, list)