making mwachs happier
authorChristian Grothoff <christian@grothoff.org>
Fri, 2 Sep 2011 13:10:08 +0000 (13:10 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 2 Sep 2011 13:10:08 +0000 (13:10 +0000)
src/transport/gnunet-service-transport_neighbours.c

index 070690ae920e009217cb43c156db95ddef768083..caed3e4d4df3141f1677de13cdaf099819c76d9f 100644 (file)
@@ -542,7 +542,7 @@ GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer,
       GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT,
                                     &neighbour_timeout_task, n);
   connect_msg.size = htons (sizeof (struct GNUNET_MessageHeader));
-  connect_msg.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT);
+  connect_msg.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_CONNECT);
   GST_neighbours_send (peer, &connect_msg, sizeof (connect_msg),
                        GNUNET_TIME_UNIT_FOREVER_REL, NULL, NULL);
 }