zrepl/internal/util/tcpsock/tcpsock_freebind_unsupported.go
2024-10-18 19:21:17 +02:00

14 lines
263 B
Go

//go:build !linux && !freebsd
// +build !linux,!freebsd
package tcpsock
import (
"fmt"
"syscall"
)
func freeBind(network, address string, c syscall.RawConn) error {
return fmt.Errorf("IP_FREEBIND equivalent functionality not supported on this platform")
}