fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/26170 )
Change subject: stats: use llist_add_tail() in osmo_stats_reporter_alloc() ...................................................................... stats: use llist_add_tail() in osmo_stats_reporter_alloc() This allows printing reporters to the VTY in the exact order as they were configired. Otherwise the list gets reversed. Change-Id: I904cd0ed53510dbe26c15cd287ba2707ca04cd6e Related: SYS#5713 --- M src/stats.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/70/26170/1 diff --git a/src/stats.c b/src/stats.c index 28a3ab3..0967305 100644 --- a/src/stats.c +++ b/src/stats.c @@ -223,7 +223,7 @@ srep->name = talloc_strdup(srep, name); srep->fd = -1; - llist_add(&srep->list, &osmo_stats_reporter_list); + llist_add_tail(&srep->list, &osmo_stats_reporter_list); return srep; } -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/26170 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I904cd0ed53510dbe26c15cd287ba2707ca04cd6e Gerrit-Change-Number: 26170 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanits...@sysmocom.de> Gerrit-MessageType: newchange