uci: maintain option position in uci_set
authorJan Venekamp <jan@venekamp.net>
Sun, 20 Nov 2022 01:08:21 +0000 (02:08 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 4 Mar 2023 18:39:32 +0000 (19:39 +0100)
commitb7ceda9a2fbdd0224c7bf742524ddc8c19c180e9
treebf78714f7d0f793682b835c65a459a1cd1754c56
parent9b6605ec4c3ad6a6e5b6964b02a28d171a5802b5
uci: maintain option position in uci_set

Maintain the position of an option in the list when updating an option
in uci_set.

Signed-off-by: Jan Venekamp <jan@venekamp.net>
list.c