Stop postupgrade from ditching the vlan info

This commit is contained in:
Tim Wilkinson 2022-04-19 14:14:49 -07:00 committed by Joe AE6XE
parent 7515d6f841
commit 1905d1a514
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ do
end end
-- specific settings for variables that are not in the default config but are added by the system -- specific settings for variables that are not in the default config but are added by the system
for _, key in ipairs({ 'dmz_dhcp_end', 'dmz_dhcp_limit', 'dmz_dhcp_start', 'dmz_lan_ip', 'dmz_lan_mask', 'wifi_rxant', 'wifi_txant', 'wan_gw', 'wan_ip', 'wan_mask' }) for _, key in ipairs({ 'dmz_dhcp_end', 'dmz_dhcp_limit', 'dmz_dhcp_start', 'dmz_lan_ip', 'dmz_lan_mask', 'wifi_rxant', 'wifi_txant', 'wan_gw', 'wan_ip', 'wan_mask', 'wan_intf' })
do do
local v = cfg[key] local v = cfg[key]
if v then if v then