mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 00:43:56 +08:00
update 2026-08-15 04:24:58
This commit is contained in:
1 parent
a59171002f
commit
c9ba9e3a54
1983 files changed
+619
-1523517
No files matched your search
@@ -1,6 +1,5 @@
|
||||
module("luci.passwall.util_naiveproxy", package.seeall)
|
||||
local api = require "luci.passwall.api"
|
||||
local uci = api.uci
|
||||
local jsonc = api.jsonc
|
||||
|
||||
function gen_config(var)
|
||||
@@ -9,7 +8,7 @@ function gen_config(var)
|
||||
print("node 不能为空")
|
||||
return
|
||||
end
|
||||
local node = uci:get_all(api.c_config, node_id)
|
||||
local node = api.uci_get_c(node_id)
|
||||
local run_type = var["run_type"]
|
||||
local local_addr = var["local_addr"]
|
||||
local local_port = var["local_port"]
|
||||
|
||||
Reference in new issue
Block a user