mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-07 07:04:25 +01:00
connectd: allow --addr=/socket
It's supposed to be `--bind-addr=/socket` since you can't advertize a local address, but the parser accepts `--addr=` too, and the intent is clear. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
32215177fe
commit
b85340eee6
@@ -993,8 +993,8 @@ static struct wireaddr_internal *setup_listeners(const tal_t *ctx,
|
||||
status_trace("Created socket listener on file %s",
|
||||
addrun.sun_path);
|
||||
add_listen_fd(daemon, fd, false);
|
||||
/* We don't announce socket names */
|
||||
assert(!announce);
|
||||
/* We don't announce socket names, though we allow
|
||||
* them to lazily specify --addr=/socket. */
|
||||
add_binding(&binding, &wa);
|
||||
continue;
|
||||
case ADDR_INTERNAL_AUTOTOR:
|
||||
|
||||
Reference in New Issue
Block a user