diff options
Diffstat (limited to 'src/uapi.go')
-rw-r--r-- | src/uapi.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uapi.go b/src/uapi.go index 7ab3c4a..155f483 100644 --- a/src/uapi.go +++ b/src/uapi.go @@ -221,7 +221,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError { return &IPCError{Code: ipcErrorInvalid} } } - signalSend(peer.signal.handshakeReset) + peer.timer.handshakeDeadline.Reset(RekeyAttemptTime) dummy = false } @@ -265,7 +265,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError { return err } peer.endpoint = endpoint - signalSend(peer.signal.handshakeReset) + peer.timer.handshakeDeadline.Reset(RekeyAttemptTime) return nil }() |