mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 08:53:56 +08:00
🌴 Sync 2026-09-09 14:20:42
This commit is contained in:
1 parent
bdf27b2b83
commit
8838c030cd
77 files changed
+2534
-2032
No files matched your search
@@ -847,7 +847,13 @@ local methods = {
|
||||
local iface = args.iface or ""
|
||||
local interface = get_device(iface)
|
||||
local server = uci:get("shadowsocks-libev", "sss0", "server") or ""
|
||||
if server == "" then return { output = "" } end
|
||||
-- Placeholders the shadowsocks config ships until a VPS is set
|
||||
-- (127.0.0.1 now, 192.168.1.3 in older releases): tracing to them
|
||||
-- would report a path that has nothing to do with the proxy.
|
||||
if server == "" or server == "127.0.0.1" or server == "::1"
|
||||
or server == "192.168.1.3" then
|
||||
return { output = "" }
|
||||
end
|
||||
local cmd
|
||||
if interface == "" then
|
||||
cmd = "tracebox -s /usr/share/tracebox/omr-mptcp-trace.lua " .. server
|
||||
|
||||
Reference in new issue
Block a user