From 9ab6a64ee30411e21827de3397fa9f7c91de65a3 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 4 Nov 2026 14:44:58 +0000 Subject: [PATCH] state: pin ExitNodeID as not peer-visible Updates #3643 --- hscontrol/state/maprequest_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hscontrol/state/maprequest_test.go b/hscontrol/state/maprequest_test.go index cc321332e..6945c3241 100644 --- a/hscontrol/state/maprequest_test.go +++ b/hscontrol/state/maprequest_test.go @@ -886,6 +886,7 @@ func TestPeerHostinfoEqual(t *testing.T) { }, {name: "ssh host keys", mutate: func(hi *tailcfg.Hostinfo) { hi.SSH_HostKeys = []string{"ssh-ed25519 AAAA"} }, want: false}, {name: "location", mutate: func(hi *tailcfg.Hostinfo) { hi.Location = &tailcfg.Location{Priority: 5} }, want: true}, + {name: "exit node", mutate: func(hi *tailcfg.Hostinfo) { hi.ExitNodeID = "n123" }, want: true}, { name: "dns proxy service", mutate: func(hi *tailcfg.Hostinfo) { hi.Services = []tailcfg.Service{{Proto: tailcfg.PeerAPIDNS, Port: 1}} },