git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
862b84f
)
luci-proto-ppp: l2tp: allow specifying port in "server" option
author
Yousong Zhou
<redacted>
Wed, 18 Nov 2015 05:34:24 +0000
(13:34 +0800)
committer
Yousong Zhou
<redacted>
Wed, 2 Dec 2015 12:56:11 +0000
(20:56 +0800)
Signed-off-by: Yousong Zhou <redacted>
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua
patch
|
blob
|
history
diff --git
a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua
b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua
index 523ef1bc6f0240093211462be77e2b144a50e3d9..5e8b3fcaae5e79f0b58a33aab0049277b08093fc 100644
(file)
--- a/
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua
+++ b/
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua
@@
-8,7
+8,7
@@
local ipv6, defaultroute, metric, peerdns, dns, mtu
server = section:taboption("general", Value, "server", translate("L2TP Server"))
-server.datatype = "
host
"
+server.datatype = "
or(host, hostport)
"
username = section:taboption("general", Value, "username", translate("PAP/CHAP username"))
git clone https://git.99rst.org/PROJECT