summaryrefslogtreecommitdiffhomepage
path: root/protocols/6x4
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-05-31 16:16:32 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-05-31 16:16:32 +0000
commit100b544f3be0ded52e03ff7c62001e8395d02045 (patch)
tree9580af68a986696f5d2a4155c1f4cfdebbf7ad71 /protocols/6x4
parenteb7a72f2513c79909386d1dce214b7ed184c398d (diff)
proto: fix feature detection of installed protocol handlers
Diffstat (limited to 'protocols/6x4')
-rw-r--r--protocols/6x4/luasrc/model/network/proto_6x4.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/6x4/luasrc/model/network/proto_6x4.lua b/protocols/6x4/luasrc/model/network/proto_6x4.lua
index b9fbf64ec..63735f6f8 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)