diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-12-17 02:32:10 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-12-17 02:32:10 +0100 |
commit | 3dfa111db87de7c5059cb6521c6e05b7f56af195 (patch) | |
tree | 30c945fc8cf625ab5e8a2fbd841a5afe3d5c7d50 /applications/luci-app-tinyproxy/luasrc/model | |
parent | cfd2b5d2a46da39938519947b7bd3206f374854a (diff) | |
parent | c481f3f34325b9c1cf817b16a567a6b10fdd1f2e (diff) |
Merge pull request #578 from cshore/pull-request-validator-rework
Pull request validator rework
Diffstat (limited to 'applications/luci-app-tinyproxy/luasrc/model')
-rw-r--r-- | applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua b/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua index 19bdd9afc1..11f34fbad4 100644 --- a/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua +++ b/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua @@ -227,7 +227,7 @@ ta = s:option(Value, "target", translate("Target host"), ta.rmempty = true ta.placeholder = "0.0.0.0/0" -ta.datatype = "host" +ta.datatype = "host(1)" v = s:option(Value, "via", translate("Via proxy"), @@ -235,5 +235,6 @@ v = s:option(Value, "via", translate("Via proxy"), v:depends({type="proxy"}) v.placeholder = "10.0.0.1:8080" +v.datatype = "ip4addrport" return m |