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

Maintain the position of an option in the list when a string option
is converted to a list option in uci_add_list.

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