mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-15 08:36:06 +00:00
Fix merge conflict in tcp.go from d027a9ba75
This commit is contained in:
@ -161,8 +161,10 @@ func (iface *tcpInterface) call(saddr string, socksaddr *string, sintf string) {
|
||||
dialer := net.Dialer{}
|
||||
if sintf != "" {
|
||||
ief, err := net.InterfaceByName(sintf)
|
||||
if err == nil {
|
||||
if ief.Flags&net.FlagUp == 0 {
|
||||
if err != nil {
|
||||
return
|
||||
} else {
|
||||
if ief.Flags & net.FlagUp == 0 {
|
||||
return
|
||||
}
|
||||
addrs, err := ief.Addrs()
|
||||
|
Reference in New Issue
Block a user