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
|
@ -31,6 +31,9 @@ function bypass_add()
|
|||
dpi = {dpi}
|
||||
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")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
config defaults
|
||||
config defaults 'defaults'
|
||||
|
||||
config bypass 'ips'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue