Commit 996c5314 authored by Akari Labs's avatar Akari Labs

dont connect to self

parent 6b2ae882
......@@ -46,7 +46,7 @@ const defaults: Configuration = {
export function configYggdrasilize(): YggdrasilConfig {
const relays = tracker.nodes
.filter(x => x.address != null && (config.relay.public || x.zone === config.network.zone))
.filter(x => x.address != null && (config.relay.public || x.zone === config.network.zone) && x.address !== config.relay.publishedAddress)
.map(x => x.address);
const officiallyAllowed = tracker.nodes.map(x => x.key);
......
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