derp: remove package shadowing of types/key.

Updates #3206

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-10-28 16:13:28 -07:00
parent 37c150aee1
commit 1f06f77dcb
2 changed files with 8 additions and 8 deletions

View File

@ -1160,7 +1160,7 @@ func (s *Server) recvPacket(br *bufio.Reader, frameLen uint32) (dstKey key.NodeP
return dstKey, contents, nil
}
// zpub is the key.Public zero value.
// zpub is the key.NodePublic zero value.
var zpub key.NodePublic
func (s *Server) recvForwardPacket(br *bufio.Reader, frameLen uint32) (srcKey, dstKey key.NodePublic, contents []byte, err error) {