From eb8951081d167059457e9bfaa57b7cfdc63e6a09 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Tue, 22 Jan 2019 21:23:57 -0600 Subject: [PATCH] fix duplicate connection bug, I think this is also in develop --- src/yggdrasil/tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yggdrasil/tcp.go b/src/yggdrasil/tcp.go index b2efbbe4..09ed7d0c 100644 --- a/src/yggdrasil/tcp.go +++ b/src/yggdrasil/tcp.go @@ -183,7 +183,7 @@ func (iface *tcpInterface) call(saddr string, socksaddr *string, sintf string) { if sintf != "" { callname = fmt.Sprintf("%s/%s", saddr, sintf) } - if iface.isAlreadyCalling(saddr) { + if iface.isAlreadyCalling(callname) { return } iface.mutex.Lock()