X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=ucimap-example.c;h=affb0705ebaea1ab64fa09d98dc5f02d4d4eee3a;hb=477c19a7223f662ab03d0a077ac6454ab4442ff3;hp=157c32f583020ff361ec25200f10c1ce222fa098;hpb=237a389754d974d579d4c650d65a404b835de5c6;p=uci.git diff --git a/ucimap-example.c b/ucimap-example.c index 157c32f..affb070 100644 --- 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 } }