aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/plugin_transport_tcp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index df7e833a0..cbea1d024 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -1356,7 +1356,7 @@ tcp_plugin_get_session (void *cls,
1356 { 1356 {
1357 session = si_ctx.result; 1357 session = si_ctx.result;
1358 LOG (GNUNET_ERROR_TYPE_DEBUG, 1358 LOG (GNUNET_ERROR_TYPE_DEBUG,
1359 "Found exisiting session for `%s' address `%s' session %p\n", 1359 "Found existing session for `%s' address `%s' session %p\n",
1360 GNUNET_i2s (&address->peer), 1360 GNUNET_i2s (&address->peer),
1361 tcp_address_to_string(NULL, address->address, address->address_length), 1361 tcp_address_to_string(NULL, address->address, address->address_length),
1362 session); 1362 session);
@@ -1405,7 +1405,7 @@ tcp_plugin_get_session (void *cls,
1405 else 1405 else
1406 { 1406 {
1407 LOG (GNUNET_ERROR_TYPE_WARNING, 1407 LOG (GNUNET_ERROR_TYPE_WARNING,
1408 _("%s:%u: Address of unexpected length %u (should be %u or %u)\n"), 1408 _("Trying to create session for address of unexpected length %u (should be %u or %u)\n"),
1409 addrlen, sizeof (struct IPv4TcpAddress), sizeof (struct IPv6TcpAddress)); 1409 addrlen, sizeof (struct IPv4TcpAddress), sizeof (struct IPv6TcpAddress));
1410 return NULL; 1410 return NULL;
1411 } 1411 }
@@ -1577,6 +1577,9 @@ struct PrettyPrinterContext
1577 */ 1577 */
1578 uint16_t port; 1578 uint16_t port;
1579 1579
1580 /**
1581 * IPv6 address
1582 */
1580 int ipv6; 1583 int ipv6;
1581 1584
1582 /** 1585 /**