luci-proto-ppp: l2tp: allow specifying port in "server" option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
862b84feb2
commit
09768ed745
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue