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:
parent
e7c45e5425
commit
98b16933d3
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user