diff options
author | Arne Kappen <akappen@inet.tu-berlin.de> | 2016-08-18 11:35:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-08-26 10:38:46 +0200 |
commit | f56a7fbaa6f155c654e7d01b5c4c0594f21239d6 (patch) | |
tree | 08e2b400aa2d70cf9655274c5f7885623acdcf40 /ubus.c | |
parent | 61e5fa84eca4176bc5b4f9769a5af79d85cf11c6 (diff) |
device: prepare for adding device handlers dynamically
- remove const from device handler struct
- pass device handler type to create function
Signed-off-by: Arne Kappen <akappen@inet.tu-berlin.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -685,7 +685,7 @@ netifd_dump_status(struct interface *iface) if (iface->ip4table) blobmsg_add_u32(&b, "ip4table", iface->ip4table); if (iface->ip6table) - blobmsg_add_u32(&b, "ip6table", iface->ip6table); + blobmsg_add_u32(&b, "ip6table", iface->ip6table); blobmsg_add_u32(&b, "metric", iface->metric); blobmsg_add_u8(&b, "delegation", !iface->proto_ip.no_delegation); a = blobmsg_open_array(&b, "ipv4-address"); |