From: Steven Barth Date: Tue, 15 Oct 2013 13:38:51 +0000 (+0200) Subject: ifname should be l3_device X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a8fcb336da37c76d202f9dfc59e49a049add6e31;p=oweals%2Fodhcpd.git ifname should be l3_device --- 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 },