net/packet: fix TSMPType docs

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2026-07-17 09:28:49 -07:00
committed by Jordan Whited
parent 94381a191a
commit 3076698cdf
+4 -4
View File
@@ -66,16 +66,16 @@ func (rh TailscaleRejectedHeader) String() string {
type TSMPType uint8 type TSMPType uint8
const ( const (
// TSMPTypeRejectedConn is the type byte for a TailscaleRejectedHeader. // TSMPTypeRejectedConn is the type byte for a [TailscaleRejectedHeader].
TSMPTypeRejectedConn TSMPType = '!' TSMPTypeRejectedConn TSMPType = '!'
// TSMPTypePing is the type byte for a TailscalePingRequest. // TSMPTypePing is the type byte for a [TSMPPingRequest].
TSMPTypePing TSMPType = 'p' TSMPTypePing TSMPType = 'p'
// TSMPTypePong is the type byte for a TailscalePongResponse. // TSMPTypePong is the type byte for a [TSMPPongReply].
TSMPTypePong TSMPType = 'o' TSMPTypePong TSMPType = 'o'
// TSPMTypeDiscoAdvertisement is the type byte for sending disco keys // TSMPTypeDiscoAdvertisement is the type byte for a [TSMPDiscoKeyAdvertisement].
TSMPTypeDiscoAdvertisement TSMPType = 'a' TSMPTypeDiscoAdvertisement TSMPType = 'a'
) )