Skip to content

Commit

Permalink
lime-system: proto lan avoid protoVlan interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
G10h4ck authored and frank95 committed Aug 9, 2014
1 parent e42d20c commit 74e2fc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lime-system/files/usr/lib/lua/lime/proto/lan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ end

function lan.setup_interface(ifname, args)
if ifname:match("adhoc") then return end
if ifname:match(network.protoVlanSeparator.."%d+$") then return end

local uci = libuci:cursor()
local bridgedIfs = {}
Expand Down

0 comments on commit 74e2fc1

Please sign in to comment.