diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-04-01 09:20:36 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-04-01 09:20:36 +0000 |
commit | 9a788faaf65ca4e703f2fcca3493eeb27133fe72 (patch) | |
tree | e90c99b0fe349ebd9713f5824f3f8c29f5ac78fe /src/mesh/gnunet-service-mesh_tunnel.c | |
parent | dc9e80603d48689dd507e30b9a9d2db663293d2c (diff) | |
download | gnunet-9a788faaf65ca4e703f2fcca3493eeb27133fe72.tar.gz gnunet-9a788faaf65ca4e703f2fcca3493eeb27133fe72.zip |
- log checksum error (for #3333)
Diffstat (limited to 'src/mesh/gnunet-service-mesh_tunnel.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index fbc18f260..28c6ddcfd 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c | |||
@@ -1682,7 +1682,7 @@ GMT_handle_encrypted (struct MeshTunnel3 *t, | |||
1682 | if (0 != memcmp (&hmac, &msg->hmac, sizeof (hmac))) | 1682 | if (0 != memcmp (&hmac, &msg->hmac, sizeof (hmac))) |
1683 | { | 1683 | { |
1684 | /* checksum failed */ | 1684 | /* checksum failed */ |
1685 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1685 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
1686 | "Failed checksum validation for a message on tunnel `%s'\n", | 1686 | "Failed checksum validation for a message on tunnel `%s'\n", |
1687 | GMT_2s (t)); | 1687 | GMT_2s (t)); |
1688 | GNUNET_STATISTICS_update (stats, "# wrong HMAC", 1, GNUNET_NO); | 1688 | GNUNET_STATISTICS_update (stats, "# wrong HMAC", 1, GNUNET_NO); |