Commit bcb133da authored by nanahira's avatar nanahira

fix

parent 38c18c5e
......@@ -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