mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
opts: deprecate --disable-ip-discovery switch
This switch was not doing anything useful anymore. We deprecate it anyways to notify the user about the new switch. Changelog-Deprecated: The old --disable-ip-discovery config switch
This commit is contained in:
@@ -1308,7 +1308,8 @@ static void update_remote_addr(struct lightningd *ld,
|
||||
u16 public_port;
|
||||
|
||||
/* failsafe to prevent privacy leakage. */
|
||||
if (ld->always_use_proxy || ld->config.disable_ip_discovery)
|
||||
if (ld->always_use_proxy ||
|
||||
ld->config.ip_discovery == OPT_AUTOBOOL_FALSE)
|
||||
return;
|
||||
|
||||
/* Peers will have likey reported our dynamic outbound TCP port.
|
||||
|
||||
Reference in New Issue
Block a user