aboutsummaryrefslogtreecommitdiff
path: root/device/noise-protocol.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/noise-protocol.go')
-rw-r--r--device/noise-protocol.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/noise-protocol.go b/device/noise-protocol.go
index df520d0..5669381 100644
--- a/device/noise-protocol.go
+++ b/device/noise-protocol.go
@@ -319,11 +319,11 @@ func (device *Device) ConsumeMessageInitiation(msg *MessageInitiation) *Peer {
flood := time.Since(handshake.lastInitiationConsumption) <= HandshakeInitationRate
handshake.mutex.RUnlock()
if replay {
- device.debugf("%v - ConsumeMessageInitiation: handshake replay @ %v", peer, timestamp)
+ device.log.Verbosef("%v - ConsumeMessageInitiation: handshake replay @ %v", peer, timestamp)
return nil
}
if flood {
- device.debugf("%v - ConsumeMessageInitiation: handshake flood", peer)
+ device.log.Verbosef("%v - ConsumeMessageInitiation: handshake flood", peer)
return nil
}