connectd: fix binding to a UNIX domain socket.

lightning_connectd(19780): STATUS_FAIL_INTERNAL_ERROR: Failed to bind on 2 socket: Address family not supported by protocol

"Untested code is buggy code"

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-03-12 11:10:55 +10:30
committed by Christian Decker
parent 740f4314ea
commit 1069f48082
3 changed files with 3 additions and 2 deletions

View File

@@ -566,7 +566,6 @@ def test_io_logging(node_factory, executor):
assert any(l['type'] == 'IO_IN' for l in peerlog)
@pytest.mark.xfail(strict=True)
def test_address(node_factory):
if DEVELOPER:
opts = {'dev-allow-localhost': None}