Browse Source
Previously it converted the wireaddr to a string internally: to support unresolved names we need that done externally. We actually tell the SOCKS5 proxy to do a domain lookup already, even though we give use IP/IPv6 address, so this change is sufficient to support connect-by-name. Note replacement of assert() with an explicit case statement, which has the benefit that the compiler complains when we add new ADDR_INTERNAL types. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
3 changed files with 24 additions and 7 deletions
Loading…
Reference in new issue