zrepl/util/tcpsock/tcpsock_freebind_unsupported.go

13 lines
233 B
Go
Raw Normal View History

// +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")
}