projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a8b28
)
fix is_installed() check for l2tp
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 15 Dec 2012 00:35:47 +0000
(
00:35
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 15 Dec 2012 00:35:47 +0000
(
00:35
+0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
protocols/ppp/luasrc/model/network/proto_ppp.lua
patch
|
blob
|
history
diff --git
a/protocols/ppp/luasrc/model/network/proto_ppp.lua
b/protocols/ppp/luasrc/model/network/proto_ppp.lua
index 049525d34730402fc301464be2a18c7fc00328e9..dfd545f3534bc1f32f17a7204d59d50c494849ae 100644
(file)
--- a/
protocols/ppp/luasrc/model/network/proto_ppp.lua
+++ b/
protocols/ppp/luasrc/model/network/proto_ppp.lua
@@
-69,6
+69,8
@@
for _, p in ipairs({"ppp", "pptp", "pppoe", "pppoa", "3g", "l2tp"}) do
return (nixio.fs.glob("/usr/lib/pppd/*/pptp.so")() ~= nil)
elseif p == "3g" then
return nixio.fs.access("/lib/netifd/proto/3g.sh")
+ elseif p == "l2tp" then
+ return nixio.fs.access("/lib/netifd/proto/l2tp.sh")
else
return nixio.fs.access("/lib/netifd/proto/ppp.sh")
end