core-lightning/connectd
Rusty Russell d8a6028214 connectd: fix binding to same port on IPv4 and IPv6.
1. If the IPv6 address was public, that changed the wireaddr and thus the ipv4 bind
   would not be to a wildcard and would fail.
2. Binding two fds to the same port on both wildcard IPv4 and IPv6 succeeds; we only
   fail when we try to listen, so allow error at this point.

For some reason this triggered on my digital ocean machine.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-08 15:04:06 +02:00
..
test gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
connect_gossip_wire.csv gossipd: provide connectd with address resolution. 2018-07-25 02:13:52 +00:00
connect_wire.csv connectd: don't use gossip_getnodes_entry. 2018-07-25 02:13:52 +00:00
connect.c connectd: fix binding to same port on IPv4 and IPv6. 2018-08-08 15:04:06 +02:00
connect.h connectd: new daemon to handle connections. 2018-07-25 02:13:52 +00:00
handshake.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
handshake.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
Makefile sync_crypto_write/sync_crypto_read: just fail, don't return NULL. 2018-08-05 02:03:58 +00:00
netaddress.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
netaddress.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor_autoservice.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
tor_autoservice.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00