X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=protocols%2Fluci-proto-ppp%2Fluasrc%2Fmodel%2Fcbi%2Fadmin_network%2Fproto_l2tp.lua;h=506170c2de395f9e21b258083a2d674e1e8ced15;hp=5e8b3fcaae5e79f0b58a33aab0049277b08093fc;hb=c481f3f34325b9c1cf817b16a567a6b10fdd1f2e;hpb=3bae3c7f5e8c383e481667fcfeae7765a1dacc75 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 5e8b3fcaa..506170c2d 100644 --- 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 = "or(host, hostport)" +server.datatype = "or(host(1), hostport(1))" username = section:taboption("general", Value, "username", translate("PAP/CHAP username"))