mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-05 18:20:48 -08:00
Simple lie test (#427)
This commit is contained in:
parent
830d6d4639
commit
0c2e5973e1
16 changed files with 650 additions and 121 deletions
|
|
@ -45,7 +45,7 @@ func TestControl_GetHostInfoByVpnIP(t *testing.T) {
|
|||
Signature: []byte{1, 2, 1, 2, 1, 3},
|
||||
}
|
||||
|
||||
remotes := []*HostInfoDest{NewHostInfoDest(remote1), NewHostInfoDest(remote2)}
|
||||
remotes := []*udpAddr{remote1, remote2}
|
||||
hm.Add(ip2int(ipNet.IP), &HostInfo{
|
||||
remote: remote1,
|
||||
Remotes: remotes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue