diff options
author | Stan Grishin <stangri@melmac.net> | 2017-01-26 14:54:48 -0800 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2017-02-13 19:30:00 -0800 |
commit | 980195277feb11be6e41fc49a38c2b9977b861c0 (patch) | |
tree | 19fcb1a4a22dbaed8556dedc6ef13a701c21b223 /applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua | |
parent | 298f838d390a7ad032405ecdf34085bdde3fe2a4 (diff) |
luci-app-vpnbypass: include dnsmasq settings, link to README
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua')
-rw-r--r-- | applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua b/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua index 195794838..2d500b968 100644 --- a/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua +++ b/applications/luci-app-vpnbypass/luasrc/model/cbi/vpnbypass.lua @@ -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 |