summaryrefslogtreecommitdiff
path: root/ucimap.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-01 05:03:05 +0200
committerFelix Fietkau <nbd@openwrt.org>2009-09-01 05:03:05 +0200
commit151917e819d767c911845d236adbcc4bd7d56141 (patch)
treee3a8cb2d0028b901edd1b0f1e40ea37aa842e190 /ucimap.c
parentcd68df2c254e4341652f30aecee304b314fac8ff (diff)
downloaduci-151917e819d767c911845d236adbcc4bd7d56141.tar.gz
preserve section list order
Diffstat (limited to 'ucimap.c')
-rw-r--r--ucimap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucimap.c b/ucimap.c
index 7f2cf38..da73ba9 100644
--- a/ucimap.c
+++ b/ucimap.c
@@ -452,7 +452,7 @@ ucimap_parse_section(struct uci_map *map, struct uci_sectionmap *sm, struct ucim
if (err)
goto error;
- list_add(&sd->list, &map->sdata);
+ list_add_tail(&sd->list, &map->sdata);
err = ucimap_parse_options(map, sm, sd, s);
if (err)
goto error;