mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-21 02:17:36 +00:00
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:
@@ -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.
|
||||
}
|
||||
|
Reference in New Issue
Block a user