projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ubus function to create nested interfaces
[project/netifd.git]
/
proto-shell.c
diff --git
a/proto-shell.c
b/proto-shell.c
index
8bbc36e
..
4bb0744
100644
(file)
--- 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 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[];
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 *
}
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;
{
struct blobmsg_policy *attrs;
char *str_buf, *str_cur;