Rebase cleanup

This commit is contained in:
Nate Brown
2025-11-03 22:21:20 -06:00
parent 3e2a6e0a5d
commit 19600f257f
3 changed files with 4 additions and 6 deletions

View File

@@ -226,7 +226,7 @@ func (u *StdConn) writeTo6(b []byte, ip netip.AddrPort) error {
func (u *StdConn) writeTo4(b []byte, ip netip.AddrPort) error {
if !ip.Addr().Is4() {
return fmt.Errorf("Listener is IPv4, but writing to IPv6 remote")
return ErrInvalidIPv6RemoteForSocket
}
var rsa unix.RawSockaddrInet4