aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nat/nat.c2
-rw-r--r--src/transport/gnunet-service-transport.c5
-rw-r--r--src/transport/test_transport_api_tcp_peer2.conf2
3 files changed, 5 insertions, 4 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c
index 99d2bbc7c..5db799a90 100644
--- a/src/nat/nat.c
+++ b/src/nat/nat.c
@@ -915,7 +915,7 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg,
915 struct in_addr in_addr; 915 struct in_addr in_addr;
916 unsigned int i; 916 unsigned int i;
917 917
918 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 918 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
919 "Registered with NAT service at port %u with %u IP bound local addresses\n", 919 "Registered with NAT service at port %u with %u IP bound local addresses\n",
920 (unsigned int) adv_port, 920 (unsigned int) adv_port,
921 num_addrs); 921 num_addrs);
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index cf7434c32..427b8dabd 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -2792,14 +2792,15 @@ plugin_env_notify_address (void *cls,
2792 2792
2793 GNUNET_assert (p->api != NULL); 2793 GNUNET_assert (p->api != NULL);
2794 2794
2795 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 2795#if DEBUG_TRANSPORT
2796 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2796 (add_remove == GNUNET_YES) 2797 (add_remove == GNUNET_YES)
2797 ? "Adding `%s':%s to the set of our addresses\n" 2798 ? "Adding `%s':%s to the set of our addresses\n"
2798 : "Removing `%s':%s from the set of our addresses\n", 2799 : "Removing `%s':%s from the set of our addresses\n",
2799 a2s (p->short_name, 2800 a2s (p->short_name,
2800 addr, addrlen), 2801 addr, addrlen),
2801 p->short_name); 2802 p->short_name);
2802 2803#endif
2803 GNUNET_assert (addr != NULL); 2804 GNUNET_assert (addr != NULL);
2804 if (GNUNET_NO == add_remove) 2805 if (GNUNET_NO == add_remove)
2805 { 2806 {
diff --git a/src/transport/test_transport_api_tcp_peer2.conf b/src/transport/test_transport_api_tcp_peer2.conf
index 19b8b42d3..7589a966e 100644
--- a/src/transport/test_transport_api_tcp_peer2.conf
+++ b/src/transport/test_transport_api_tcp_peer2.conf
@@ -31,7 +31,7 @@ MINIMUM-FRIENDS = 0
31 31
32[transport] 32[transport]
33PLUGINS = tcp 33PLUGINS = tcp
34DEBUG = YES 34#DEBUG = YES
35ACCEPT_FROM6 = ::1; 35ACCEPT_FROM6 = ::1;
36ACCEPT_FROM = 127.0.0.1; 36ACCEPT_FROM = 127.0.0.1;
37NEIGHBOUR_LIMIT = 50 37NEIGHBOUR_LIMIT = 50