diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-23 12:37:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-23 12:37:56 +0000 |
commit | 201c857d6aa14b806815c05cea2824516161d702 (patch) | |
tree | 2a05379cece0eead84022a9061faca8faeeba802 /src/transport | |
parent | 8d4d96e9a9317a18526bd645a0881e80c71a332b (diff) | |
download | gnunet-201c857d6aa14b806815c05cea2824516161d702.tar.gz gnunet-201c857d6aa14b806815c05cea2824516161d702.zip |
fixing unsupported messages in core
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 22eb45398..61f4abc09 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -820,13 +820,13 @@ send_disconnect (const struct GNUNET_PeerIdentity *target, | |||
820 | struct SessionDisconnectMessage disconnect_msg; | 820 | struct SessionDisconnectMessage disconnect_msg; |
821 | 821 | ||
822 | #if DEBUG_TRANSPORT | 822 | #if DEBUG_TRANSPORT |
823 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 823 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
824 | "Sending DISCONNECT message to peer `%4s'\n", | 824 | "Sending DISCONNECT message to peer `%4s'\n", |
825 | GNUNET_i2s (target)); | 825 | GNUNET_i2s (target)); |
826 | #endif | 826 | #endif |
827 | 827 | ||
828 | disconnect_msg.header.size = htons (sizeof (struct SessionDisconnectMessage)); | 828 | disconnect_msg.header.size = htons (sizeof (struct SessionDisconnectMessage)); |
829 | disconnect_msg.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_DISCONNECT); | 829 | disconnect_msg.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT); |
830 | disconnect_msg.reserved = htonl (0); | 830 | disconnect_msg.reserved = htonl (0); |
831 | disconnect_msg.purpose.size = | 831 | disconnect_msg.purpose.size = |
832 | htonl (sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) + | 832 | htonl (sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) + |
@@ -2187,7 +2187,7 @@ GST_neighbours_handle_disconnect_message (const struct GNUNET_PeerIdentity | |||
2187 | GNUNET_HashCode hc; | 2187 | GNUNET_HashCode hc; |
2188 | 2188 | ||
2189 | #if DEBUG_TRANSPORT | 2189 | #if DEBUG_TRANSPORT |
2190 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2190 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
2191 | "Received DISCONNECT message from peer `%s'\n", | 2191 | "Received DISCONNECT message from peer `%s'\n", |
2192 | GNUNET_i2s (peer)); | 2192 | GNUNET_i2s (peer)); |
2193 | #endif | 2193 | #endif |