diff options
author | Steven Barth <steven@midlink.org> | 2013-10-15 15:38:51 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-15 15:38:51 +0200 |
commit | a8fcb336da37c76d202f9dfc59e49a049add6e31 (patch) | |
tree | e65a82119d3046ab7093eb88c4645ebace8d6dc6 /src/ubus.c | |
parent | c270824318171edcaf2cb99e9803cb2a3bf64534 (diff) |
ifname should be l3_device
Diffstat (limited to 'src/ubus.c')
-rw-r--r-- | src/ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }, |