(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 9 Jun 2011 16:35:01 +0000 (16:35 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 9 Jun 2011 16:35:01 +0000 (16:35 +0000)
src/transport/plugin_transport_udp.c
src/transport/test_quota_compliance_udp_peer1.conf
src/transport/test_quota_compliance_udp_peer2.conf
src/transport/test_transport_api_udp_peer1.conf
src/transport/test_transport_api_udp_peer2.conf

index 58135803ad8454339d4825d1422e8d59c228c016..8f95b9ee6671218d6a487e40e702cc01f8e330f6 100644 (file)
@@ -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;
     }
index 8bc8110c5794599cf17814e35859ae5c5aa07a0c..4f0520a520ac8aae56997fd52c59a8754edb3c59 100644 (file)
@@ -98,6 +98,10 @@ WEAKRANDOM = YES
 HOSTKEY = $SERVICEHOME/.hostkey
 
 
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
 [dht]
 AUTOSTART = NO
 
index de71791cd1edef5f16c30810c7b8b82b77e75215..b49cf9538ae964e9cc4426e84e838c00f03fe55e 100644 (file)
@@ -96,6 +96,10 @@ WEAKRANDOM = YES
 [gnunetd]
 HOSTKEY = $SERVICEHOME/.hostkey
 
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
 
 [dht]
 AUTOSTART = NO
index 1df66ebd12e62db5894db0b2d86725876fd2311e..e5a9e42136e0194588a4e1123841a0d22c4fa8d3 100644 (file)
@@ -5,6 +5,10 @@ USE_LOCALADDR = YES
 [fs]
 AUTOSTART = NO
 
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
 [datastore]
 AUTOSTART = NO
 
index 493354963982f1c1b2c9e644dfd96694488d1fdd..ddf1ac9760218fca6472aa63720d399c3e2c3c05 100644 (file)
@@ -5,6 +5,10 @@ USE_LOCALADDR = YES
 [fs]
 AUTOSTART = NO
 
+[nat]
+# Are we behind NAT?
+BEHIND_NAT = NO
+
 [datastore]
 AUTOSTART = NO