mirror of
https://github.com/wzshiming/tun.git
synced 2025-12-24 13:18:15 +08:00
16 lines
265 B
Go
16 lines
265 B
Go
//go:build !linux && !darwin
|
|
|
|
package control
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
"syscall"
|
|
)
|
|
|
|
func ControlBindToInterface(_ *net.Interface) ControlFunc {
|
|
return func(string, string, syscall.RawConn) error {
|
|
return fmt.Errorf("bind to interface unsupported platform")
|
|
}
|
|
}
|