Browse Source

connectd: don't listen to UNIX sockets before activation.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 6 years ago
parent
commit
0ebad456b1
  1. 2
      connectd/connect.c

2
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);

Loading…
Cancel
Save