diff options
| author | Jo-Philipp Wich <jow@openwrt.org> | 2012-12-18 13:58:22 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-12-18 13:58:22 +0000 |
| commit | 839dcdc01299869bc714990c19d8e244f18318b5 (patch) | |
| tree | fa375ce3c8a90ac71de0f443b806c97094bdb66a /protocols | |
| parent | 31d76dbb64da3bcba3132d6246422ae50b376e5c (diff) | |
luci-0.11: merge outstanding trunk changes
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/ppp/luasrc/model/network/proto_ppp.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/ppp/luasrc/model/network/proto_ppp.lua b/protocols/ppp/luasrc/model/network/proto_ppp.lua index 049525d347..dfd545f353 100644 --- 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 |
