From 0ebad456b1e3cf2dd06c4b559c5f511aa10dbd60 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 2 Aug 2018 16:19:55 +0930 Subject: [PATCH] connectd: don't listen to UNIX sockets before activation. Signed-off-by: Rusty Russell --- connectd/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectd/connect.c b/connectd/connect.c index 474aa26d0..e0a336462 100644 --- a/connectd/connect.c +++ b/connectd/connect.c @@ -1186,7 +1186,7 @@ static struct wireaddr_internal *setup_listeners(const tal_t *ctx, false); status_trace("Created socket listener on file %s", addrun.sun_path); - io_new_listener(daemon, fd, connection_in, daemon); + add_listen_fd(daemon, fd); /* We don't announce socket names */ assert(!announce); add_binding(&binding, &wa);