luci-app-ssr-plus: subscribe fail when null alias servr name

This commit is contained in:
coolsnowwolf 2020-02-27 20:43:39 +08:00
parent a615d1824d
commit 3fcc4bed24

View File

@ -342,6 +342,9 @@ local execute = function()
setmetatable(nodeResult[old.grouphashkey][old.hashkey], { __index = { _ignore = true } })
end
else
if not old.alias then
old.alias = old.server .. ':' .. old.server_port
end
log('忽略手动添加的节点: ' .. old.alias)
end