net/tstun: fix typo in doc

Updates #cleanup

Change-Id: Icaca974237cf678f3e036b1dfdd2f2e5082483db
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-09-30 08:30:13 -07:00
committed by Brad Fitzpatrick
parent 2c956e30be
commit 1803226945

View File

@@ -21,7 +21,7 @@ import (
"tailscale.com/types/logger" "tailscale.com/types/logger"
) )
// CrateTAP is the hook set by feature/tap. // CreateTAP is the hook set by feature/tap.
var CreateTAP feature.Hook[func(logf logger.Logf, tapName, bridgeName string) (tun.Device, error)] var CreateTAP feature.Hook[func(logf logger.Logf, tapName, bridgeName string) (tun.Device, error)]
// modprobeTunHook is a Linux-specific hook to run "/sbin/modprobe tun". // modprobeTunHook is a Linux-specific hook to run "/sbin/modprobe tun".