magicsock: mute noisy expected peer mtu related error (#10870)

This commit is contained in:
Claire Wang
2024-01-19 20:04:22 -05:00
committed by GitHub
parent 62b056d677
commit 213d696db0
3 changed files with 26 additions and 2 deletions

View File

@@ -5,6 +5,8 @@
package magicsock
import "tailscale.com/disco"
func (c *Conn) DontFragSetting() (bool, error) {
return false, nil
}
@@ -19,3 +21,7 @@ func (c *Conn) PeerMTUEnabled() bool {
func (c *Conn) UpdatePMTUD() {
}
func pmtuShouldLogDiscoTxErr(m disco.Message, err error) bool {
return true
}