summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ppp/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-ppp/luasrc/model')
-rw-r--r--protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua b/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua
index 7bbd78fa1e..1bcbd4808a 100644
--- a/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua
+++ b/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua
@@ -90,5 +90,5 @@ for _, p in ipairs({"ppp", "pptp", "pppoe", "pppoa", "3g", "l2tp", "pppossh"}) d
end
end
- netmod:register_pattern_virtual("^%s-%%w" % p)
+ netmod:register_pattern_virtual("^%s%%-%%w" % p)
end