mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-06 01:07:03 +08:00
16 lines
242 B
Go
Executable File
16 lines
242 B
Go
Executable File
//go:build !linux && !darwin
|
|
|
|
package dialer
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
"syscall"
|
|
)
|
|
|
|
func bindToInterface(_ *net.Interface) controlFunc {
|
|
return func(string, string, syscall.RawConn) error {
|
|
return errors.New("unsupported platform")
|
|
}
|
|
}
|