mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-10 04:30:20 +02:00
hotfix(pmtud/tcp): fix code for IPv6 destinations
This commit is contained in:
@@ -29,7 +29,7 @@ func makeSockAddr(ip netip.Addr, port uint16) unix.Sockaddr {
|
||||
}
|
||||
}
|
||||
return &unix.SockaddrInet6{
|
||||
Port: int(port),
|
||||
Port: 0,
|
||||
Addr: ip.As16(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user