From 571fc4970a5fe30530aea4974bb2d574f35af5cf Mon Sep 17 00:00:00 2001 From: Jack Doan Date: Wed, 9 Oct 2024 18:03:22 -0400 Subject: [PATCH 1/2] send in relays on protocol v2 --- lighthouse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse.go b/lighthouse.go index af12d0cd3..732a4d725 100644 --- a/lighthouse.go +++ b/lighthouse.go @@ -858,7 +858,7 @@ func (lh *LightHouse) SendUpdate() { for _, r := range lh.GetRelaysForMe() { relays = append(relays, netAddrToProtoAddr(r)) } - + msg.Details.RelayVpnAddrs = relays // time="lh 15:57:55.871069" level=debug msg="Host sent invalid update" answer="ff::ffff:a80:3" vpnAddrs="[10.128.0.3 ff::3]" what??? msg.Details.VpnAddr = netAddrToProtoAddr(lh.myVpnNetworks[0].Addr()) From 4b6bfe5c5577305efad474d0386dff336dff0f7c Mon Sep 17 00:00:00 2001 From: Jack Doan Date: Thu, 10 Oct 2024 11:45:34 -0400 Subject: [PATCH 2/2] remove old comment --- lighthouse.go | 1 - 1 file changed, 1 deletion(-) diff --git a/lighthouse.go b/lighthouse.go index 732a4d725..1beaa331c 100644 --- a/lighthouse.go +++ b/lighthouse.go @@ -859,7 +859,6 @@ func (lh *LightHouse) SendUpdate() { relays = append(relays, netAddrToProtoAddr(r)) } msg.Details.RelayVpnAddrs = relays - // time="lh 15:57:55.871069" level=debug msg="Host sent invalid update" answer="ff::ffff:a80:3" vpnAddrs="[10.128.0.3 ff::3]" what??? msg.Details.VpnAddr = netAddrToProtoAddr(lh.myVpnNetworks[0].Addr()) } else {