summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-06-09 16:35:01 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-06-09 16:35:01 +0000
commitf2b83070a67d6da2874564354281f258ee55b6fc (patch)
treee22f4a998e8ebd30dd604ae4e3ebcdd2bfc354c3 /src
parent54752f33384c69de4cbac24e6dcdf3c32ee9daee (diff)
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_udp.c8
-rw-r--r--src/transport/test_quota_compliance_udp_peer1.conf4
-rw-r--r--src/transport/test_quota_compliance_udp_peer2.conf4
-rw-r--r--src/transport/test_transport_api_udp_peer1.conf4
-rw-r--r--src/transport/test_transport_api_udp_peer2.conf4
5 files changed, 20 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 58135803a..8f95b9ee6 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -2267,8 +2267,8 @@ libgnunet_plugin_transport_udp_init (void *cls)
&external_address)))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- _("Require EXTERNAL_ADDRESS for service `%s' in configuration (either BEHIND_NAT or ALLOW_NAT set to YES)!\n"),
- "transport-udp");
+ _("Require EXTERNAL_ADDRESS in section `%s' in configuration (either BEHIND_NAT or ALLOW_NAT set to YES)!\n"),
+ "nat");
return NULL;
}
@@ -2285,8 +2285,8 @@ libgnunet_plugin_transport_udp_init (void *cls)
&internal_address)))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- _("Require INTERNAL_ADDRESS for service `%s' in configuration!\n"),
- "transport-udp");
+ _("Require INTERNAL_ADDRESS in section `%s' in configuration!\n"),
+ "nat");
GNUNET_free_non_null(external_address);
return NULL;
}
diff --git a/src/transport/test_quota_compliance_udp_peer1.conf b/src/transport/test_quota_compliance_udp_peer1.conf
index 8bc8110c5..4f0520a52 100644
--- a/src/transport/test_quota_compliance_udp_peer1.conf
+++ b/src/transport/test_quota_compliance_udp_peer1.conf
@@ -98,6 +98,10 @@ WEAKRANDOM = YES
HOSTKEY = $SERVICEHOME/.hostkey
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
[dht]
AUTOSTART = NO
diff --git a/src/transport/test_quota_compliance_udp_peer2.conf b/src/transport/test_quota_compliance_udp_peer2.conf
index de71791cd..b49cf9538 100644
--- a/src/transport/test_quota_compliance_udp_peer2.conf
+++ b/src/transport/test_quota_compliance_udp_peer2.conf
@@ -96,6 +96,10 @@ WEAKRANDOM = YES
[gnunetd]
HOSTKEY = $SERVICEHOME/.hostkey
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
[dht]
AUTOSTART = NO
diff --git a/src/transport/test_transport_api_udp_peer1.conf b/src/transport/test_transport_api_udp_peer1.conf
index 1df66ebd1..e5a9e4213 100644
--- a/src/transport/test_transport_api_udp_peer1.conf
+++ b/src/transport/test_transport_api_udp_peer1.conf
@@ -5,6 +5,10 @@ USE_LOCALADDR = YES
[fs]
AUTOSTART = NO
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
[datastore]
AUTOSTART = NO
diff --git a/src/transport/test_transport_api_udp_peer2.conf b/src/transport/test_transport_api_udp_peer2.conf
index 493354963..ddf1ac976 100644
--- a/src/transport/test_transport_api_udp_peer2.conf
+++ b/src/transport/test_transport_api_udp_peer2.conf
@@ -5,6 +5,10 @@ USE_LOCALADDR = YES
[fs]
AUTOSTART = NO
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
[datastore]
AUTOSTART = NO