From 100b544f3be0ded52e03ff7c62001e8395d02045 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 May 2012 16:16:32 +0000 Subject: proto: fix feature detection of installed protocol handlers --- protocols/6x4/luasrc/model/network/proto_6x4.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/6x4/luasrc/model') diff --git a/protocols/6x4/luasrc/model/network/proto_6x4.lua b/protocols/6x4/luasrc/model/network/proto_6x4.lua index b9fbf64ec8..63735f6f8e 100644 --- a/protocols/6x4/luasrc/model/network/proto_6x4.lua +++ b/protocols/6x4/luasrc/model/network/proto_6x4.lua @@ -41,8 +41,7 @@ for _, p in ipairs({"6in4", "6to4"}) do end function proto.is_installed(self) - return nixio.fs.access("/lib/network/" .. p .. ".sh") or - nixio.fs.access("/lib/netifd/proto/" .. p .. ".sh") + return nixio.fs.access("/lib/netifd/proto/" .. p .. ".sh") end function proto.is_floating(self) -- cgit v1.2.3