summaryrefslogtreecommitdiffstats
path: root/aconf/modules
diff options
context:
space:
mode:
Diffstat (limited to 'aconf/modules')
-rw-r--r--aconf/modules/network.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/aconf/modules/network.lua b/aconf/modules/network.lua
index 34b4064..188ac28 100644
--- a/aconf/modules/network.lua
+++ b/aconf/modules/network.lua
@@ -93,7 +93,7 @@ end
function Interface:is_removable() return self.class == 'logical' end
function Interface:auto_set()
- for _, set in M.node.ipairs(self:fetch('../../enabled-ifaces')) do
+ for _, set in ipairs(self:fetch('../../enabled-ifaces')) do
if M.node.contains(set, self) then return set end
end
end
@@ -154,7 +154,7 @@ Interface.status = M.String{
compute=function(obj)
if obj.class == 'loopback' then return 'attached' end
- for _, iface in M.node.pairs(M.node.parent(obj)) do
+ for _, iface in pairs(M.node.parent(obj)) do
if (
iface.type == 'bond' and M.node.contains(iface.slaves, obj)
) or (