lua: expose completely new lists in changes() as well
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 19 Dec 2011 18:25:00 +0000 (19:25 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 19 Dec 2011 18:25:00 +0000 (19:25 +0100)
Since the first delta of a new list is of type UCI_CMD_CHANGE and
not UCI_CMD_LIST_ADD, the current code does not start a new table
and subsequent items are silently disacarded. Expose all items of
new list by coercing the existing string element into a table when
encountering subsequent items.


No differences found