|
@ -97,7 +97,7 @@ static struct wireaddr *make_onion(const tal_t *ctx, |
|
|
|
|
|
|
|
|
name = tal_fmt(tmpctx, "%s.onion", line); |
|
|
name = tal_fmt(tmpctx, "%s.onion", line); |
|
|
onion = tal(ctx, struct wireaddr); |
|
|
onion = tal(ctx, struct wireaddr); |
|
|
if (!parse_wireaddr(name, onion, 0, false, NULL)) |
|
|
if (!parse_wireaddr(name, onion, DEFAULT_PORT, false, NULL)) |
|
|
status_failed(STATUS_FAIL_INTERNAL_ERROR, |
|
|
status_failed(STATUS_FAIL_INTERNAL_ERROR, |
|
|
"Tor gave bad onion name '%s'", name); |
|
|
"Tor gave bad onion name '%s'", name); |
|
|
discard_remaining_response(rbuf); |
|
|
discard_remaining_response(rbuf); |
|
|