Compare commits
2 Commits
0e03583c92
...
03d05550d6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03d05550d6 | ||
|
|
89fb8bd720 |
@ -5,12 +5,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dae
|
||||
PKG_VERSION:=2026.07.21
|
||||
PKG_VERSION:=2026.07.22
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=c65c6bdf87cbe338697004f0a4e3fd212930a60d
|
||||
PKG_SOURCE_VERSION:=aba844dae7643fbc27a14e69ec2d9ffe5980817c
|
||||
PKG_SOURCE_URL:=https://github.com/olicesx/dae.git
|
||||
PKG_MIRROR_HASH:=skip
|
||||
|
||||
|
||||
BIN
doc/lucky1.png
|
Before Width: | Height: | Size: 91 KiB |
BIN
doc/lucky2.png
|
Before Width: | Height: | Size: 319 KiB |
BIN
doc/lucky3.png
|
Before Width: | Height: | Size: 389 KiB |
BIN
doc/taskplan1.png
Normal file
|
After Width: | Height: | Size: 640 KiB |
BIN
doc/taskplan2.png
Normal file
|
After Width: | Height: | Size: 550 KiB |
BIN
doc/taskplan3.png
Normal file
|
After Width: | Height: | Size: 547 KiB |
BIN
doc/view.png
Normal file
|
After Width: | Height: | Size: 659 KiB |
BIN
doc/view2.png
Normal file
|
After Width: | Height: | Size: 650 KiB |
@ -1049,7 +1049,7 @@ function gen_config(var)
|
||||
|
||||
api.log(" - 加载 Xray 负载均衡 节点【" .. (_node.remarks or "") .. "】,子节点数量:" .. #(blc_nodes or {}))
|
||||
|
||||
local valid_nodes = {}
|
||||
local valid_nodes, valid_fallback = {}, true
|
||||
for i = 1, #(blc_nodes or {}) do
|
||||
local blc_node_id = blc_nodes[i]
|
||||
local blc_node_tag = "blc-" .. blc_node_id
|
||||
@ -1067,12 +1067,16 @@ function gen_config(var)
|
||||
valid_nodes[#valid_nodes + 1] = outboundTag
|
||||
end
|
||||
end
|
||||
-- Check if balancing node duplicates fallback node
|
||||
if _node.fallback_node == blc_node_id then
|
||||
valid_fallback = false
|
||||
end
|
||||
end
|
||||
if #valid_nodes == 0 then return nil end
|
||||
|
||||
-- fallback node
|
||||
local fallback_node_id = _node.fallback_node
|
||||
fallback_node_id = (fallback_node_id and fallback_node_id ~= "") and fallback_node_id or nil
|
||||
fallback_node_id = (valid_fallback and fallback_node_id and fallback_node_id ~= "") and fallback_node_id or nil
|
||||
local fallback_node_tag = (fallback_node_id == "_direct") and "direct" or "blackhole"
|
||||
if fallback_node_id and fallback_node_id ~= "_direct" then
|
||||
local is_new_node = true
|
||||
|
||||