From 151917e819d767c911845d236adbcc4bd7d56141 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 1 Sep 2009 05:03:05 +0200 Subject: [PATCH] preserve section list order --- ucimap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0