1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix in interface choice for OMR ByPass

This commit is contained in:
Ycarus 2018-06-29 18:26:44 +02:00
parent 290918576f
commit b757773c8c
2 changed files with 4 additions and 1 deletions

View file

@ -32,6 +32,9 @@ function bypass_add()
end
ucic:set_list("omr-bypass","dpi","proto",dpi)
local interface = luci.http.formvalue("cbid.omr-bypass.interface") or ""
ucic:set("omr-bypass","defaults","ifname",interface)
ucic:save("omr-bypass")
ucic:commit("omr-bypass")
ucic:set_list("dhcp",ucic:get_first("dhcp","dnsmasq"),"ipset",domains_ipset .. "/ss_rules_dst_bypass")

View file

@ -1,4 +1,4 @@
config defaults
config defaults 'defaults'
config bypass 'ips'