projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netifd: Add mldversion config support
[project/netifd.git]
/
iprule.c
diff --git
a/iprule.c
b/iprule.c
index
7b63417
..
4e3dd15
100644
(file)
--- a/
iprule.c
+++ b/
iprule.c
@@
-15,7
+15,6
@@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
-#include <unistd.h>
#include <arpa/inet.h>
#include <arpa/inet.h>
@@
-60,7
+59,7
@@
static const struct blobmsg_policy rule_attr[__RULE_MAX] = {
[RULE_GOTO] = { .name = "goto", .type = BLOBMSG_TYPE_INT32 },
};
[RULE_GOTO] = { .name = "goto", .type = BLOBMSG_TYPE_INT32 },
};
-const struct
config
_param_list rule_attr_list = {
+const struct
uci_blob
_param_list rule_attr_list = {
.n_params = __RULE_MAX,
.params = rule_attr,
};
.n_params = __RULE_MAX,
.params = rule_attr,
};