diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-27 14:10:32 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-27 14:10:32 +0000 |
commit | 548353c4b32e151a965d2512ff9a4fc053f0f2ca (patch) | |
tree | f92abb193cf9c6f1a5b185dbe537c1d9a63046d4 /src/transport/gnunet-service-transport_validation.c | |
parent | b1e3784c99eef84a500a53e6272e9233b0930a53 (diff) | |
download | gnunet-548353c4b32e151a965d2512ff9a4fc053f0f2ca.tar.gz gnunet-548353c4b32e151a965d2512ff9a4fc053f0f2ca.zip |
these messages should not be logged as errors
when addresses have changed (due to plugins disabled, ip address changing) this behaviour is expected
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c index 1e5012715..eb3f4c07d 100644 --- a/src/transport/gnunet-service-transport_validation.c +++ b/src/transport/gnunet-service-transport_validation.c | |||
@@ -1058,7 +1058,7 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | |||
1058 | if (NULL == (papi = GST_plugins_find (plugin_name))) | 1058 | if (NULL == (papi = GST_plugins_find (plugin_name))) |
1059 | { | 1059 | { |
1060 | /* we don't have the plugin for this address */ | 1060 | /* we don't have the plugin for this address */ |
1061 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1061 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1062 | _("Plugin `%s' not available, cannot confirm having this address\n"), | 1062 | _("Plugin `%s' not available, cannot confirm having this address\n"), |
1063 | plugin_name); | 1063 | plugin_name); |
1064 | GNUNET_free (plugin_name); | 1064 | GNUNET_free (plugin_name); |
@@ -1071,7 +1071,7 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | |||
1071 | gettext_noop | 1071 | gettext_noop |
1072 | ("# failed address checks during validation"), 1, | 1072 | ("# failed address checks during validation"), 1, |
1073 | GNUNET_NO); | 1073 | GNUNET_NO); |
1074 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1074 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1075 | _("Address `%s' is not one of my addresses, not confirming PING\n"), | 1075 | _("Address `%s' is not one of my addresses, not confirming PING\n"), |
1076 | GST_plugins_a2s (&address)); | 1076 | GST_plugins_a2s (&address)); |
1077 | return GNUNET_SYSERR; | 1077 | return GNUNET_SYSERR; |
@@ -1082,7 +1082,7 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | |||
1082 | gettext_noop | 1082 | gettext_noop |
1083 | ("# successful address checks during validation"), 1, | 1083 | ("# successful address checks during validation"), 1, |
1084 | GNUNET_NO); | 1084 | GNUNET_NO); |
1085 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1085 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1086 | "Address `%s' is one of my addresses, confirming PING\n", | 1086 | "Address `%s' is one of my addresses, confirming PING\n", |
1087 | GST_plugins_a2s (&address)); | 1087 | GST_plugins_a2s (&address)); |
1088 | } | 1088 | } |
@@ -1091,7 +1091,7 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | |||
1091 | { | 1091 | { |
1092 | if (GNUNET_NO == buggy) | 1092 | if (GNUNET_NO == buggy) |
1093 | { | 1093 | { |
1094 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1094 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1095 | _("Not confirming PING from peer `%s' with address `%s' since I cannot confirm having this address.\n"), | 1095 | _("Not confirming PING from peer `%s' with address `%s' since I cannot confirm having this address.\n"), |
1096 | GNUNET_i2s (sender), | 1096 | GNUNET_i2s (sender), |
1097 | GST_plugins_a2s (&address)); | 1097 | GST_plugins_a2s (&address)); |