mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-19 11:57:07 +09:00
1 parent
b216d5b6aa
commit
9ab6a64ee3
1 file changed
+1
@@ -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}} },
|
||||
|
||||
Reference in new issue
Block a user