summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ubus.c b/src/ubus.c
index bfa052e..55f52dc 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -248,7 +248,8 @@ void ubus_apply_network(void)
continue;
if (!c || !c->ignore)
- config_parse_interface(tb[IFACE_ATTR_DATA], interface, false);
+ config_parse_interface(blobmsg_data(tb[IFACE_ATTR_DATA]),
+ blobmsg_data_len(tb[IFACE_ATTR_DATA]), interface, false);
}
}
}