diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-05-29 17:19:02 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-05-29 18:19:14 +0200 |
commit | e7c9c63c657963daa1a0d57dcb0848d88e909c25 (patch) | |
tree | 3a2a380dbf4779e3bc1acd12c346cd44c4f44818 /modules/luci-base/po | |
parent | 79947af064122438c803f3b7bc580ede093a26e4 (diff) |
luci-mod-network: split config migration into 2 steps
Problem with handling all migrations in 1 step is that uci.sections()
doesn't include changes queued using uci.callAdd() and uci.callSet().
That could result in unexpected behaviour and generating invalid
configs.
For the sake of simplicity and reliability use 2 steps migration. The
downside is that users may get prompted twice to migrate.
Reported-by: Hauke Mehrtens <hauke@hauke-m.de>
Fixes: 74be304e541f ("treewide: use "device" option in UCI "interface" sections")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Tested-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'modules/luci-base/po')
0 files changed, 0 insertions, 0 deletions