peer_control: getinfo show correct port on discovered IPs

Changelog-Fixed: peer_control: getinfo shows the correct port on discovered IPs
This commit is contained in:
Michael Schmoock
2022-09-12 15:47:44 +02:00
committed by Rusty Russell
parent 4ca6b36439
commit c8ab8192ca
5 changed files with 45 additions and 15 deletions

View File

@@ -158,6 +158,10 @@ struct lightningd {
struct node_id remote_addr_v4_peer;
struct node_id remote_addr_v6_peer;
/* verified discovered IPs to be used for anouncement */
struct wireaddr *discovered_ip_v4;
struct wireaddr *discovered_ip_v6;
/* Bearer of all my secrets. */
int hsm_fd;
struct subd *hsm;