13 lines
146 B
Go
13 lines
146 B
Go
|
//+build go1.12
|
||
|
|
||
|
package netlink
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func newRawConn(fd *os.File) (syscall.RawConn, error) {
|
||
|
return fd.SyscallConn()
|
||
|
}
|