Commit 748e53ae authored by nanahira's avatar nanahira

refine

parent 837abcf9
......@@ -157,11 +157,12 @@ class InventoryBuilder {
connections.push(await this.parse_connection(host, this.hosts[h], null_connection, true, false, false));
connections.push(await this.parse_connection(host, this.hosts[h], null_connection, false, true, false));
}
const targetHost = this.hosts[h];
routePlans.push({
name: h.replace(/-/g, "_"),
destMark: this.hosts[h].destMark,
addresses: [this.hosts[h].address],
addressesString: this.getRoutePlanAddressesString([this.hosts[h].address])
destMark: targetHost.destMark,
addresses: targetHost.address,
addressesString: this.getRoutePlanAddressesString([targetHost.address])
});
}
}
......
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