diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-27 17:57:06 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-27 17:57:06 +0200 |
commit | 81bff2df037a218cb973559a2bfbfbd259b1cbad (patch) | |
tree | baeeeb599991e6de736e91f3b9e80f8603fd7bb0 /src/method_xsalsa20_poly1305.c | |
parent | e91f17de87175d822ae7e3d3238e7a0021a645ad (diff) | |
download | fastd-81bff2df037a218cb973559a2bfbfbd259b1cbad.tar fastd-81bff2df037a218cb973559a2bfbfbd259b1cbad.zip |
Introduce new log level debug2 for potentially very frequent messages
Diffstat (limited to 'src/method_xsalsa20_poly1305.c')
-rw-r--r-- | src/method_xsalsa20_poly1305.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/method_xsalsa20_poly1305.c b/src/method_xsalsa20_poly1305.c index 9bcf5ed..d0d31f4 100644 --- a/src/method_xsalsa20_poly1305.c +++ b/src/method_xsalsa20_poly1305.c @@ -209,7 +209,7 @@ static bool method_decrypt(fastd_context_t *ctx, fastd_peer_t *peer, fastd_metho *out = fastd_buffer_alloc(ctx, crypto_secretbox_xsalsa20poly1305_ZEROBYTES, 0, 0); } else { - pr_debug(ctx, "accepting reordered packet from %P (age %u)", peer, (unsigned)age); + pr_debug2(ctx, "accepting reordered packet from %P (age %u)", peer, (unsigned)age); session->receive_reorder_seen |= (1 << (age-1)); } |