projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPv6: fix prefix assignment with continuous hints
[project/netifd.git]
/
device.c
diff --git
a/device.c
b/device.c
index
5fa0ac1
..
e635b05
100644
(file)
--- a/
device.c
+++ b/
device.c
@@
-39,7
+39,7
@@
static const struct blobmsg_policy dev_attrs[__DEV_ATTR_MAX] = {
[DEV_ATTR_ENABLED] = { "enabled", BLOBMSG_TYPE_BOOL },
};
[DEV_ATTR_ENABLED] = { "enabled", BLOBMSG_TYPE_BOOL },
};
-const struct
config
_param_list device_attr_list = {
+const struct
uci_blob
_param_list device_attr_list = {
.n_params = __DEV_ATTR_MAX,
.params = dev_attrs,
};
.n_params = __DEV_ATTR_MAX,
.params = dev_attrs,
};
@@
-499,9
+499,9
@@
static enum dev_change_type
device_reload_config(struct device *dev, struct blob_attr *attr)
{
struct blob_attr *tb[__DEV_ATTR_MAX];
device_reload_config(struct device *dev, struct blob_attr *attr)
{
struct blob_attr *tb[__DEV_ATTR_MAX];
- const struct
config
_param_list *cfg = dev->type->config_params;
+ const struct
uci_blob
_param_list *cfg = dev->type->config_params;
- if (
config
_check_equal(dev->config, attr, cfg))
+ if (
uci_blob
_check_equal(dev->config, attr, cfg))
return DEV_CONFIG_NO_CHANGE;
if (cfg == &device_attr_list) {
return DEV_CONFIG_NO_CHANGE;
if (cfg == &device_attr_list) {