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:
parent
290918576f
commit
b757773c8c
2 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
config defaults
|
||||
config defaults 'defaults'
|
||||
|
||||
config bypass 'ips'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue