summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpnbypass/luasrc
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2017-02-14 17:19:11 -0800
committerStan Grishin <stangri@melmac.net>2017-02-14 17:19:11 -0800
commitca0d99070493d2542c15feefa9863983a0f85563 (patch)
tree9ec7bcd71de15bc51af1828c71245389bd22937f /applications/luci-app-vpnbypass/luasrc
parent980195277feb11be6e41fc49a38c2b9977b861c0 (diff)
luci-app-vpnbypass: cbi file fix for README and an unneeded section
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpnbypass/luasrc')
-rw-r--r--applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua b/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua
index 2d500b9686..6ed52ddba5 100644
--- a/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua
+++ b/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua
@@ -27,13 +27,12 @@ r2.addremove = true
r2.optional = true
-- Domains
-d1 = s:option(DynamicList, "domain", translate("Domains to Bypass"), translate("Domains which will be accessed directly (outside of the VPN tunnel)"))
-d1.addremove = true
-d1.optional = true
-
d = Map("dhcp")
s4 = d:section(TypedSection, "dnsmasq")
s4.anonymous = true
-di = s4:option(DynamicList, "ipset", translate("Domains to Bypass"), translate("Domains to be accessed directly (outside of the VPN tunnel), see <a href='https://github.com/openwrt/packages/tree/master/net/vpnbypass/files#bypass-domains-formatsyntax'>README</a> for syntax"))
+di = s4:option(DynamicList, "ipset", translate("Domains to Bypass"),
+ translate("Domains to be accessed directly (outside of the VPN tunnel), see ")
+ .. [[<a href="https://github.com/openwrt/packages/tree/master/net/vpnbypass/files#bypass-domains-formatsyntax" target="_blank">]]
+ .. translate("README") .. [[</a>]] .. translate(" for syntax"))
return m, d