mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix adding network bypass
This commit is contained in:
parent
937e8d43ea
commit
ce9432d93b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function bypass_add()
|
|||
local ip_ipset = {}
|
||||
for _, k in pairs(hosts) do
|
||||
if k ~= "" then
|
||||
if dt.ipaddr(k) then
|
||||
if dt.ipmask(k) then
|
||||
table.insert(ip_ipset, k)
|
||||
else
|
||||
domains_ipset = domains_ipset .. '/' .. k
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue