From: Felix Fietkau Date: Mon, 31 Jan 2011 02:53:09 +0000 (+0100) Subject: libubus: add method to policy X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c55408c4d023b67f6156f330e3442169bd53da16;p=oweals%2Fubus.git libubus: add method to policy --- diff --git a/libubus.c b/libubus.c index 93f9bac..d90dc1f 100644 --- 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];