luci-app-vpnbypass: include dnsmasq settings, link to README 1008/head
authorStan Grishin <stangri@melmac.net>
Thu, 26 Jan 2017 22:54:48 +0000 (14:54 -0800)
committerStan Grishin <stangri@melmac.net>
Tue, 14 Feb 2017 03:30:00 +0000 (19:30 -0800)
Signed-off-by: Stan Grishin <stangri@melmac.net>
applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua
applications/luci-app-vpnbypass/po/templates/vpnbypass.pot

index 1957948382e5072f8b8d17f77b5985cec04092b1..2d500b96868a305ad4e1eb23f6ed230dc56cf317 100644 (file)
@@ -1,4 +1,4 @@
-m = Map("vpnbypass", translate("VPN Bypass Settings"), translate("Configuration of VPN Bypass Settings"))
+m = Map("vpnbypass", translate("VPN Bypass Settings"))
 s = m:section(NamedSection, "config", "vpnbypass")
 
 -- General options
@@ -31,5 +31,9 @@ d1 = s:option(DynamicList, "domain", translate("Domains to Bypass"), translate("
 d1.addremove = true
 d1.optional = true
 
-return m
+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"))
 
+return m, d
index c0dd33dfbe2d28cce0169c5a4c96bdfba11bbdc1..9463bc010c480cb530522f8c53a453bd11d31445 100644 (file)
@@ -1,10 +1,13 @@
 msgid ""
 msgstr "Content-Type: text/plain; charset=UTF-8"
 
-msgid "Configuration of VPN Bypass Settings"
+msgid "Domains to Bypass"
 msgstr ""
 
-msgid "Domains to Bypass"
+msgid ""
+"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"
 msgstr ""
 
 msgid "Domains which will be accessed directly (outside of the VPN tunnel)"