summaryrefslogtreecommitdiffhomepage
path: root/proto-shell.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-10 14:31:02 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-06-10 14:40:22 +0200
commitd095bf24cf7879150d008c23998676bfedebbde6 (patch)
treeab7f853f8a7ba00039cd714144a738f8c0927f28 /proto-shell.c
parentbac6f28ce1d9abc381c2f85c32bcd37c33cd00c8 (diff)
config: use the new uci_blob library code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'proto-shell.c')
-rw-r--r--proto-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto-shell.c b/proto-shell.c
index 8bbc36e..4bb0744 100644
--- a/proto-shell.c
+++ b/proto-shell.c
@@ -44,7 +44,7 @@ enum proto_shell_sm {
struct proto_shell_handler {
struct list_head list;
struct proto_handler proto;
- struct config_param_list config;
+ struct uci_blob_param_list config;
char *config_buf;
bool init_available;
char script_name[];
@@ -755,7 +755,7 @@ get_field(json_object *obj, const char *name, json_type type)
}
static char *
-proto_shell_parse_config(struct config_param_list *config, json_object *obj)
+proto_shell_parse_config(struct uci_blob_param_list *config, json_object *obj)
{
struct blobmsg_policy *attrs;
char *str_buf, *str_cur;