mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-16 08:56:07 +00:00
fix dial bug
This commit is contained in:
@ -252,7 +252,7 @@ const (
|
||||
// notify the intf that we're currently sending
|
||||
func (intf *linkInterface) notifySending(size int, isLinkTraffic bool) {
|
||||
intf.RecvFrom(nil, func() {
|
||||
if !isLinkTraffic && size > 0 {
|
||||
if !isLinkTraffic {
|
||||
intf.inSwitch = false
|
||||
}
|
||||
intf.sendTimer = time.AfterFunc(sendBlockedTime, intf.notifyBlockedSend)
|
||||
|
Reference in New Issue
Block a user