13 lines
254 B
Go
13 lines
254 B
Go
//go:build !linux
|
|
|
|
package transport
|
|
|
|
import (
|
|
"fmt"
|
|
"syscall"
|
|
)
|
|
|
|
func udpBindDeviceControl(device string) (func(string, string, syscall.RawConn) error, error) {
|
|
return nil, fmt.Errorf("transport: bind device %s is only supported on linux", device)
|
|
}
|