projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ucimap: add new UCIMAP_LIST_AUTO for automatically converting multiple list items...
[project/uci.git]
/
ucimap-example.c
diff --git
a/ucimap-example.c
b/ucimap-example.c
index 157c32f583020ff361ec25200f10c1ce222fa098..affb0705ebaea1ab64fa09d98dc5f02d4d4eee3a 100644
(file)
--- a/
ucimap-example.c
+++ b/
ucimap-example.c
@@
-170,7
+170,7
@@
static struct my_optmap network_interface_options[] = {
{
.map = {
UCIMAP_OPTION(struct uci_network, aliases),
- .type = UCIMAP_LIST | UCIMAP_SECTION,
+ .type = UCIMAP_LIST | UCIMAP_SECTION
| UCIMAP_LIST_AUTO
,
.data.sm = &network_alias
}
}