summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-10-15 15:38:51 +0200
committerSteven Barth <steven@midlink.org>2013-10-15 15:38:51 +0200
commita8fcb336da37c76d202f9dfc59e49a049add6e31 (patch)
treee65a82119d3046ab7093eb88c4645ebace8d6dc6 /src
parentc270824318171edcaf2cb99e9803cb2a3bf64534 (diff)
ifname should be l3_device
Diffstat (limited to 'src')
-rw-r--r--src/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ubus.c b/src/ubus.c
index d8948a9..bfa052e 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -166,7 +166,7 @@ enum {
static const struct blobmsg_policy iface_attrs[IFACE_ATTR_MAX] = {
[IFACE_ATTR_INTERFACE] = { .name = "interface", .type = BLOBMSG_TYPE_STRING },
- [IFACE_ATTR_IFNAME] = { .name = "ifname", .type = BLOBMSG_TYPE_STRING },
+ [IFACE_ATTR_IFNAME] = { .name = "l3_device", .type = BLOBMSG_TYPE_STRING },
[IFACE_ATTR_UP] = { .name = "up", .type = BLOBMSG_TYPE_BOOL },
[IFACE_ATTR_DATA] = { .name = "data", .type = BLOBMSG_TYPE_TABLE },
[IFACE_ATTR_PREFIX] = { .name = "ipv6-prefix", .type = BLOBMSG_TYPE_ARRAY },