gluon-core: update board.json interface path

Single LAN and WAN interfaces are now stored in the network configs
"device" key.
This commit is contained in:
David Bauer 2021-06-26 17:56:42 +02:00
parent e7c45e5425
commit 98b16933d3
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ local function iface_exists(ifaces)
end
local lan_ifname = iface_exists((network_data.lan or {}).ifname)
local wan_ifname = iface_exists((network_data.wan or {}).ifname)
local lan_ifname = iface_exists((network_data.lan or {}).device)
local wan_ifname = iface_exists((network_data.wan or {}).device)
if platform.match('ar71xx', 'generic', {
'cpe210',