diff --git a/packages/lime-system/files/usr/lib/lua/lime/network.lua b/packages/lime-system/files/usr/lib/lua/lime/network.lua index 1d9856051..ba5b89b76 100644 --- a/packages/lime-system/files/usr/lib/lua/lime/network.lua +++ b/packages/lime-system/files/usr/lib/lua/lime/network.lua @@ -259,12 +259,14 @@ function network.scandevices() --! With DSA, the WAN is named wan. Copying the code from the lan case. if dev:match("^wan$") then + devices[dev] = {} local lower_if = network._get_lower(dev) if lower_if then devices[lower_if] = { nobridge = true } - devices[dev] = {} utils.log( "network.scandevices.dev_parser found WAN port %s " .. "and marking %s as nobridge", dev, lower_if ) + else + utils.log( "network.scandevices.dev_parser found WAN port %s", dev) end end