Files
tun/control/bind_others.go
Shiming Zhang 31edb3af59 Cleanup
2022-03-13 19:00:24 +08:00

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