summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
diff options
context:
space:
mode:
authorLiangbin Lian <jjm2473@gmail.com>2022-08-16 13:56:35 +0800
committerLiangbin Lian <jjm2473@gmail.com>2022-08-16 13:56:35 +0800
commit1ab4ce1a5e12afbecf1ed74c49ee91c8a049ca0b (patch)
tree1a953af9b888a18910aed9780fdad44dadd4a628 /applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
parent43cea79a826f015d0c69cf0af702961fa6cf1c29 (diff)
luci-app-frpc: fix local_ip datatype
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
Diffstat (limited to 'applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js')
-rw-r--r--applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
index c859aa177f..3eb4b3dbc5 100644
--- a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
+++ b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
@@ -45,7 +45,7 @@ var baseProxyConf = [
[form.ListValue, 'type', _('Proxy type'), _('ProxyType specifies the type of this proxy. Valid values include "tcp", "udp", "http", "https", "stcp", and "xtcp".<br />By default, this value is "tcp".'), {values: ['tcp', 'udp', 'http', 'https', 'stcp', 'xtcp']}],
[form.Flag, 'use_encryption', _('Encryption'), _('UseEncryption controls whether or not communication with the server will be encrypted. Encryption is done using the tokens supplied in the server and client configuration.<br />By default, this value is false.'), {datatype: 'bool'}],
[form.Flag, 'use_compression', _('Compression'), _('UseCompression controls whether or not communication with the server will be compressed.<br />By default, this value is false.'), {datatype: 'bool'}],
- [form.Value, 'local_ip', _('Local IP'), _('LocalIp specifies the IP address or host name to proxy to.'), {datatype: 'ipaddr'}],
+ [form.Value, 'local_ip', _('Local IP'), _('LocalIp specifies the IP address or host name to proxy to.'), {datatype: 'host'}],
[form.Value, 'local_port', _('Local port'), _('LocalPort specifies the port to proxy to.'), {datatype: 'port'}],
];