Browse Source

gossip: Do not use DNS if we were told not to

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
parent
commit
91c2416657
  1. 2
      gossipd/gossip.c

2
gossipd/gossip.c

@ -3169,7 +3169,7 @@ static void try_reach_peer(struct daemon *daemon, const struct pubkey *id,
a = tal(tmpctx, struct wireaddr_internal); a = tal(tmpctx, struct wireaddr_internal);
wireaddr_from_unresolved(a, seedname(tmpctx, id), wireaddr_from_unresolved(a, seedname(tmpctx, id),
DEFAULT_PORT); DEFAULT_PORT);
} else { } else if (daemon->use_dns) {
a = seed_resolve_addr(tmpctx, id); a = seed_resolve_addr(tmpctx, id);
} }
} }

Loading…
Cancel
Save