types/netmap: use new node key type.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-10-28 10:44:34 -07:00
parent 96ad68c5d6
commit 6e5175373e
5 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,6 @@ import (
"inet.af/netaddr"
"tailscale.com/tailcfg"
"tailscale.com/types/key"
"tailscale.com/types/wgkey"
"tailscale.com/wgengine/filter"
)
@@ -28,7 +27,7 @@ type NetworkMap struct {
SelfNode *tailcfg.Node
NodeKey tailcfg.NodeKey
PrivateKey wgkey.Private
PrivateKey key.NodePrivate
Expiry time.Time
// Name is the DNS name assigned to this node.
Name string