mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
chore: use EXPERIMENTAL for BOLT7 DNS #911
Changelog-EXPERIMENTAL: Ability to announce DNS addresses
This commit is contained in:
committed by
Rusty Russell
parent
2b8896a0b5
commit
a3ea9fdc87
@@ -221,6 +221,7 @@ static char *opt_add_addr_withtype(const char *arg,
|
||||
tal_arr_expand(&ld->proposed_wireaddr, wi);
|
||||
}
|
||||
|
||||
#if EXPERIMENTAL_FEATURES /* BOLT7 DNS RFC #911 */
|
||||
/* Add ADDR_TYPE_DNS to announce DNS hostnames */
|
||||
if (is_dnsaddr(address) && ala & ADDR_ANNOUNCE) {
|
||||
memset(&wi, 0, sizeof(wi));
|
||||
@@ -234,6 +235,7 @@ static char *opt_add_addr_withtype(const char *arg,
|
||||
tal_arr_expand(&ld->proposed_listen_announce, ADDR_ANNOUNCE);
|
||||
tal_arr_expand(&ld->proposed_wireaddr, wi);
|
||||
}
|
||||
#endif
|
||||
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user