- Wrong message type
authorBart Polot <bart@net.in.tum.de>
Mon, 23 Apr 2012 08:17:53 +0000 (08:17 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 23 Apr 2012 08:17:53 +0000 (08:17 +0000)
src/dht/dht_api.c

index 3f850b3e708977d8f9787a4dca1bb3f27e6f332c..9e95155a9677678d600f687152aae2593a775cf9 100644 (file)
@@ -1123,7 +1123,7 @@ GNUNET_DHT_monitor_start (struct GNUNET_DHT_Handle *handle,
   pending->msg = &m->header;
   pending->handle = handle;
   pending->free_on_send = GNUNET_YES;
-  m->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET);
+  m->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_MONITOR_START);
   m->header.size = htons (sizeof (struct GNUNET_DHT_MonitorStartMessage));
   m->type = htonl(type);
   m->get = (NULL != get_cb);