mirror of
https://github.com/tailscale/tailscale.git
synced 2025-11-16 02:44:28 +00:00
ipn/ipnlocal,wgengine{/magicsock}: replace SetNetworkMap with eventbus (#16299)
Same with UpdateNetmapDelta. Updates tailscale/corp#27502 Updates #15160 Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
@@ -918,6 +918,7 @@ func newTestBackend(t *testing.T) *LocalBackend {
|
||||
ID: 152,
|
||||
ComputedName: "some-peer",
|
||||
User: tailcfg.UserID(1),
|
||||
Key: makeNodeKeyFromID(152),
|
||||
Addresses: []netip.Prefix{
|
||||
netip.MustParsePrefix("100.150.151.152/32"),
|
||||
},
|
||||
@@ -927,6 +928,7 @@ func newTestBackend(t *testing.T) *LocalBackend {
|
||||
ComputedName: "some-tagged-peer",
|
||||
Tags: []string{"tag:server", "tag:test"},
|
||||
User: tailcfg.UserID(1),
|
||||
Key: makeNodeKeyFromID(153),
|
||||
Addresses: []netip.Prefix{
|
||||
netip.MustParsePrefix("100.150.151.153/32"),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user