mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-06 20:10:11 +02:00
hotfix(pmtud): do not try every address for ICMP PMTUD
This commit is contained in:
@@ -53,6 +53,9 @@ func PathMTUDiscover(ctx context.Context, icmpAddrs []netip.Addr, tcpAddrs []net
|
||||
default:
|
||||
return 0, fmt.Errorf("ICMP path MTU discovery: %w", err)
|
||||
}
|
||||
if icmpSuccess {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
for _, addrPort := range tcpAddrs {
|
||||
|
||||
Reference in New Issue
Block a user