From a8fcb336da37c76d202f9dfc59e49a049add6e31 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 15 Oct 2013 15:38:51 +0200 Subject: [PATCH] ifname should be l3_device --- src/ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, -- 2.25.1