wgengine/magicsock: rename debugPMTUD() to debugEnablePMTUD()

Make the debugknob variable name for enabling peer path MTU discovery match the
env variable name.

Updates #311

Signed-off-by: Val <valerie@tailscale.com>
This commit is contained in:
Val
2023-09-13 16:18:35 +02:00
committed by valscale
parent bb3d338334
commit 055f3fd843
4 changed files with 8 additions and 5 deletions

View File

@@ -31,5 +31,5 @@ func setDontFragment(pconn nettype.PacketConn, network string) (err error) {
}
func CanPMTUD() bool {
return debugPMTUD() // only if the envknob is for now.
return debugEnablePMTUD() // only if the envknob is for now.
}