Skip to content

Commit

Permalink
Call proto.configure also for specific interface protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
G10h4ck committed Jan 15, 2015
1 parent 94bea82 commit 7ea1725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lime-system/files/usr/lib/lua/lime/network.lua
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function network.configure()
for k,v in pairs(flags) do args[k] = v end
if utils.isModuleAvailable(protoModule) then
local proto = require(protoModule)
xpcall(function() proto.setup_interface(device, args) end,
xpcall(function() proto.configure(args) ; proto.setup_interface(device, args) end,
function(errmsg) print(errmsg) ; print(debug.traceback()) end)
end
end
Expand Down

0 comments on commit 7ea1725

Please sign in to comment.