aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/plugin_transport_udp.c3
-rw-r--r--src/transport/test_transport_api_udp_nat_peer1.conf4
-rw-r--r--src/transport/test_transport_api_udp_nat_peer2.conf3
3 files changed, 6 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 0eddcfe26..51e27df62 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -949,7 +949,8 @@ udp_plugin_server_read (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc
949 _("nat-server-read read: %s port %d\n"), &mybuf, port); 949 _("nat-server-read read: %s port %d\n"), &mybuf, port);
950#endif 950#endif
951 951
952 /** We have received an ICMP response, ostensibly from a non-NAT'd peer 952 /**
953 * We have received an ICMP response, ostensibly from a non-NAT'd peer
953 * that wants to connect to us! Send a message to establish a connection. 954 * that wants to connect to us! Send a message to establish a connection.
954 */ 955 */
955 if (inet_pton(AF_INET, &mybuf[0], &in_addr.sin_addr) != 1) 956 if (inet_pton(AF_INET, &mybuf[0], &in_addr.sin_addr) != 1)
diff --git a/src/transport/test_transport_api_udp_nat_peer1.conf b/src/transport/test_transport_api_udp_nat_peer1.conf
index f9531c3fa..ef7316a35 100644
--- a/src/transport/test_transport_api_udp_nat_peer1.conf
+++ b/src/transport/test_transport_api_udp_nat_peer1.conf
@@ -1,7 +1,7 @@
1[transport-udp] 1[transport-udp]
2PORT = 12368 2PORT = 12368
3BEHIND_NAT = NO 3BEHIND_NAT = YES
4ALLOW_NAT = YES 4ALLOW_NAT = NO
5INTERNAL_ADDRESS = 127.0.0.1 5INTERNAL_ADDRESS = 127.0.0.1
6EXTERNAL_ADDRESS = 127.0.0.1 6EXTERNAL_ADDRESS = 127.0.0.1
7 7
diff --git a/src/transport/test_transport_api_udp_nat_peer2.conf b/src/transport/test_transport_api_udp_nat_peer2.conf
index 73c55b1a4..c33a12ece 100644
--- a/src/transport/test_transport_api_udp_nat_peer2.conf
+++ b/src/transport/test_transport_api_udp_nat_peer2.conf
@@ -1,6 +1,7 @@
1[transport-udp] 1[transport-udp]
2PORT = 22368 2PORT = 22368
3BEHIND_NAT = YES 3BEHIND_NAT = NO
4ALLOW_NAT = YES
4EXTERNAL_ADDRESS = 127.0.0.1 5EXTERNAL_ADDRESS = 127.0.0.1
5INTERNAL_ADDRESS = 127.0.0.1 6INTERNAL_ADDRESS = 127.0.0.1
6 7