summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-04 14:01:16 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-04 14:01:16 +0200
commit7844e58f79e94a8f369a82c80672cb050dcfaf72 (patch)
treea346b763486bbfcbedb7170993e65bfa4eae26cb /interface.c
parent4ed89555c4b5e748ed407f7694b5c9b32eea2e54 (diff)
downloadnetifd-7844e58f79e94a8f369a82c80672cb050dcfaf72.tar.gz
make interface:ifname a string instead of an array
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index 2b66fb9..c437ef3 100644
--- a/interface.c
+++ b/interface.c
@@ -24,7 +24,7 @@ static const union config_param_info iface_attr_info[IFACE_ATTR_MAX] = {
static const struct blobmsg_policy iface_attrs[IFACE_ATTR_MAX] = {
[IFACE_ATTR_PROTO] = { .name = "proto", .type = BLOBMSG_TYPE_STRING },
- [IFACE_ATTR_IFNAME] = { .name = "ifname", .type = BLOBMSG_TYPE_ARRAY },
+ [IFACE_ATTR_IFNAME] = { .name = "ifname", .type = BLOBMSG_TYPE_STRING },
[IFACE_ATTR_AUTO] = { .name = "auto", .type = BLOBMSG_TYPE_BOOL },
};