Commit d5e77b88 authored by nanahira's avatar nanahira

fix no update

parent 65b17138
......@@ -349,7 +349,7 @@ class InventoryBuilder {
console.log(`${local.name} GW ${localGateway.isp} ${inbound ? '<' : '='}=${frpType === 'frps' ? 's' : '='}=[${protocol}]=${frpType === 'frpc' ? 's' : '='}=> ${remote.name} GW ${remoteGateway.isp}`);
}
const noUpdate = this.linksOnly && !(this.linksOnly.includes(remote.name) && this.linksOnly.includes(local.name));
const noUpdate = this.linksOnly && !(this.linksOnly.includes(remote.name) || this.linksOnly.includes(local.name));
return {
name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment