diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-10 14:31:02 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-06-10 14:40:22 +0200 |
commit | d095bf24cf7879150d008c23998676bfedebbde6 (patch) | |
tree | ab7f853f8a7ba00039cd714144a738f8c0927f28 /proto.c | |
parent | bac6f28ce1d9abc381c2f85c32bcd37c33cd00c8 (diff) |
config: use the new uci_blob library code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'proto.c')
-rw-r--r-- | proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,13 +49,13 @@ static const struct blobmsg_policy proto_ip_attributes[__OPT_MAX] = { [OPT_IP6PREFIX] = { .name = "ip6prefix", .type = BLOBMSG_TYPE_ARRAY }, }; -static const union config_param_info proto_ip_attr_info[__OPT_MAX] = { +static const struct uci_blob_param_info proto_ip_attr_info[__OPT_MAX] = { [OPT_IPADDR] = { .type = BLOBMSG_TYPE_STRING }, [OPT_IP6ADDR] = { .type = BLOBMSG_TYPE_STRING }, [OPT_IP6PREFIX] = { .type = BLOBMSG_TYPE_STRING }, }; -const struct config_param_list proto_ip_attr = { +const struct uci_blob_param_list proto_ip_attr = { .n_params = __OPT_MAX, .params = proto_ip_attributes, .info = proto_ip_attr_info, |