Skip to content

Commit

Permalink
Fix #117
Browse files Browse the repository at this point in the history
Signed-off-by: Pau Escrich <p4u@dabax.net>
  • Loading branch information
p4u committed Apr 25, 2017
1 parent 265841d commit 81ddc3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lime-system/files/usr/lib/lua/lime/network.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ function network.scandevices()
local wireless = require("lime.wireless")

function dev_parser(dev)
if dev == nil then return end

if dev:match("^eth%d+$") then
devices[dev] = devices[dev] or {}
end
Expand Down

0 comments on commit 81ddc3a

Please sign in to comment.