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:
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:
|
||||
|
|
Loading…
Reference in New Issue