summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-04-11 13:30:30 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-04-11 13:30:30 +0000
commite184218ed36a865394112cb8afb6518cf5925624 (patch)
tree126f013c6c799062abc16988b8532aff611820e2 /src
parent91caa20b4cca6eb5a33236a6228ed4bc207912b0 (diff)
surpress core message " Unsupported message of type 16"
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index e0d3b3b23..ee5af9a41 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -241,6 +241,9 @@ GST_receive_callback (void *cls, const struct GNUNET_PeerIdentity *peer,
switch (type)
{
+ case GNUNET_MESSAGE_TYPE_HELLO_LEGACY:
+ /* Legacy HELLO message, discard */
+ return ret;
case GNUNET_MESSAGE_TYPE_HELLO:
GST_validation_handle_hello (message);
return ret;