Peer timer teardown
This commit is contained in:
parent
996c7c4d8a
commit
d73f960aab
7 changed files with 163 additions and 102 deletions
|
|
@ -296,7 +296,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
|
|||
logError.Println("Failed to get tun device status:", err)
|
||||
return &IPCError{Code: ipcErrorIO}
|
||||
}
|
||||
if device.tun.isUp.Get() && !dummy {
|
||||
if device.isUp.Get() && !dummy {
|
||||
peer.SendKeepAlive()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue