add units to time, use configuration time api where appropriate, fixing Mantis #1875
[oweals/gnunet.git] / src / transport / template_cfg_peer2.conf
index b0644c5b2d6b47b7cd70f49200c16eb1fdbd5e33..e46f0b8a17ff10dac4b5c2496bbb16630b9c5b2c 100644 (file)
@@ -3,9 +3,16 @@
 SERVICEHOME = /tmp/test-transport/api-tcp-p2/
 DEFAULTCONFIG = template_cfg_peer2.conf
 
+[gnunetd]
+HOSTKEY = $SERVICEHOME/.hostkey
+
+[nat]
+RETURN_LOCAL_ADDRESSES = YES
+DISABLEV6 = NO
+
 [transport-tcp]
 PORT = 12100
-TIMEOUT = 5000
+TIMEOUT = 5 s
 
 [arm]
 PORT = 12014
@@ -32,4 +39,4 @@ UNIXPATH = /tmp/gnunet-p2-service-transport.sock
 [ats]
 #DEBUG = YES
 PORT = 12016
-UNIXPATH = /tmp/gnunet-p2-service-ats.sock
\ No newline at end of file
+UNIXPATH = /tmp/gnunet-p2-service-ats.sock