Compare commits

...

2 Commits

Author SHA1 Message Date
action
03d05550d6 update 2026-07-22 18:20:55 2026-07-22 18:20:55 +08:00
action
89fb8bd720 update 2026-07-22 14:23:51 2026-07-22 14:23:51 +08:00
10 changed files with 8 additions and 4 deletions

View File

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=dae PKG_NAME:=dae
PKG_VERSION:=2026.07.21 PKG_VERSION:=2026.07.22
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=c65c6bdf87cbe338697004f0a4e3fd212930a60d PKG_SOURCE_VERSION:=aba844dae7643fbc27a14e69ec2d9ffe5980817c
PKG_SOURCE_URL:=https://github.com/olicesx/dae.git PKG_SOURCE_URL:=https://github.com/olicesx/dae.git
PKG_MIRROR_HASH:=skip PKG_MIRROR_HASH:=skip

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 389 KiB

BIN
doc/taskplan1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

BIN
doc/taskplan2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 KiB

BIN
doc/taskplan3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 KiB

BIN
doc/view.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 KiB

BIN
doc/view2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 KiB

View File

@ -1049,7 +1049,7 @@ function gen_config(var)
api.log(" - 加载 Xray 负载均衡 节点【" .. (_node.remarks or "") .. "】,子节点数量:" .. #(blc_nodes or {})) 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 for i = 1, #(blc_nodes or {}) do
local blc_node_id = blc_nodes[i] local blc_node_id = blc_nodes[i]
local blc_node_tag = "blc-" .. blc_node_id local blc_node_tag = "blc-" .. blc_node_id
@ -1067,12 +1067,16 @@ function gen_config(var)
valid_nodes[#valid_nodes + 1] = outboundTag valid_nodes[#valid_nodes + 1] = outboundTag
end end
end end
-- Check if balancing node duplicates fallback node
if _node.fallback_node == blc_node_id then
valid_fallback = false
end
end end
if #valid_nodes == 0 then return nil end if #valid_nodes == 0 then return nil end
-- fallback node -- fallback node
local fallback_node_id = _node.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" local fallback_node_tag = (fallback_node_id == "_direct") and "direct" or "blackhole"
if fallback_node_id and fallback_node_id ~= "_direct" then if fallback_node_id and fallback_node_id ~= "_direct" then
local is_new_node = true local is_new_node = true