diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-12-29 17:42:09 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-12-29 17:42:09 +0100 |
commit | d73f960aab86b9a12b0b7d18aa80ce1d4f130695 (patch) | |
tree | ec4b6683c1c0b6b28a95b4bdb718dcc3faa0f222 /src/uapi.go | |
parent | 996c7c4d8aa11a73718e49b520d16bbf0630a3df (diff) |
Peer timer teardown
Diffstat (limited to 'src/uapi.go')
-rw-r--r-- | src/uapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uapi.go b/src/uapi.go index 155f483..a67bff1 100644 --- a/src/uapi.go +++ b/src/uapi.go @@ -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() } } |