X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=iprule.c;h=81bb77a60c0743b7c76eb84c60b9941145c334bc;hp=7b6341794423b58b5f223f2ce7b3cfe67961451a;hb=6228d0f21b2dcf20d7b2223c43f8b90b9b51bc4d;hpb=7963b8875872e7456687042b69f2b5a4a474e441 diff --git a/iprule.c b/iprule.c index 7b63417..81bb77a 100644 --- a/iprule.c +++ b/iprule.c @@ -15,7 +15,6 @@ #include #include #include -#include #include @@ -60,7 +59,7 @@ static const struct blobmsg_policy rule_attr[__RULE_MAX] = { [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, }; @@ -234,7 +233,7 @@ rule_cmp(const void *k1, const void *k2, void *ptr) static void iprule_update_rule(struct vlist_tree *tree, - struct vlist_node *node_new, struct vlist_node *node_old) + struct vlist_node *node_new, struct vlist_node *node_old) { struct iprule *rule_old, *rule_new;