projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed8955
)
make interface:ifname a string instead of an array
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Sep 2011 12:01:16 +0000
(14:01 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Sep 2011 12:01:16 +0000
(14:01 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 2b66fb9267c86a0a200c450a2b124d3cb3b5708e..c437ef35d7d2da5909536a68d4add3c82e8f6c98 100644
(file)
--- 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 },
};