fix: tcp did not return network type
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 12 Dec 2012 13:48:16 +0000 (13:48 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 12 Dec 2012 13:48:16 +0000 (13:48 +0000)
src/transport/plugin_transport_tcp.c

index 3b497082c16d6c35115b562746314c873630d857..8d026cd32d06827c2439ec3e7d7aa443bd033ee5 100644 (file)
@@ -2050,7 +2050,7 @@ handle_tcp_data (void *cls, struct GNUNET_SERVER_Client *client,
                                 &session->target,
                                 message,
                                 (const struct GNUNET_ATS_Information *) &distance,
-                                1, session,
+                                2, session,
                                 (GNUNET_YES == session->inbound) ? NULL : session->addr,
                                 (GNUNET_YES == session->inbound) ? 0 : session->addrlen);