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

Add custom proto support for omr-bypass

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-09-09 21:28:35 +02:00
parent c8eb844b62
commit 29b42e36a1
3 changed files with 27 additions and 1 deletions

View file

@ -95,7 +95,7 @@ if xt_ndpi_available then
table.insert(protos,b)
end
end
table.sort(protos)
table.sort(protos, function(a, b) return a:upper() < b:upper() end)
for _,b in ipairs(protos) do
dpi:value(b,"%s" % tostring(b))
end