mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-17 10:28:30 +00:00
Fix merge conflict in tcp.go from d027a9ba75baa88207f9c4f2c337f59ded83e6e7
This commit is contained in:
parent
69cd736112
commit
8eed15b813
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user