mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix bypass
This commit is contained in:
parent
932cb1fa04
commit
a02ef92c5d
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
local dpi = uci:get_list("omr-bypass", "dpi", "proto")
|
local dpi = uci:get_list("omr-bypass", "dpi", "proto")
|
||||||
local tmpfile = os.tmpname()
|
local tmpfile = os.tmpname()
|
||||||
local dpi_available_proto = luci.util.execi("cat /proc/net/xt_ndpi/proto | awk '{print $3}' | sort -u | head -n -1")
|
local dpi_available_proto = luci.util.execi("cat /proc/net/xt_ndpi/proto | awk '{print $3}' | sort -u | head -n -1")
|
||||||
|
local sys = require "luci.sys"
|
||||||
local ifaces = sys.net:devices()
|
local ifaces = sys.net:devices()
|
||||||
local bypassif = uci:get("omr-bypass","defaults","ifname") or ""
|
local bypassif = uci:get("omr-bypass","defaults","ifname") or ""
|
||||||
%>
|
%>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue