mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
10 lines
No EOL
302 B
Lua
10 lines
No EOL
302 B
Lua
pkt = ip{dst=to} / tcp{dst=65101} / MPCAPABLE
|
|
function cb(ttl, r_ip, mod)
|
|
if r_ip == nil then
|
|
r_ip = "*"
|
|
end
|
|
print(ttl .. ": " .. tostring(r_ip) .. " " .. tostring(mod))
|
|
-- print(tostring(mod:original():ip()))
|
|
end
|
|
result = tracebox(pkt, {callback="cb"})
|
|
print("\nResult:\n" .. tostring(result)) |