Files

16 lines
305 B
Go
Raw Permalink Normal View History

//go:build !linux
// +build !linux
package transport
import (
"net"
"syscall"
)
// bindToInterface returns nil on non-Linux platforms
// since SO_BINDTODEVICE is a Linux-specific socket option.
func bindToInterface(_ string) func(string, string, syscall.RawConn) error { return nil }
var _ net.Conn