aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-24 14:43:49 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-24 14:43:49 +0000
commit1a8d7b5adb9be6bf8a50c2462a75e413b427ee94 (patch)
treec7365a97ade9e24586386299dc6c7296379ddf76 /src/vpn
parentc5652406040cfcd7b183bbab8e963b57982f4bca (diff)
downloadgnunet-1a8d7b5adb9be6bf8a50c2462a75e413b427ee94.tar.gz
gnunet-1a8d7b5adb9be6bf8a50c2462a75e413b427ee94.zip
-bugfixes
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/test_gnunet_vpn.c4
-rw-r--r--src/vpn/test_gnunet_vpn.conf2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/vpn/test_gnunet_vpn.c b/src/vpn/test_gnunet_vpn.c
index 4d8ee7e9c..3186c1761 100644
--- a/src/vpn/test_gnunet_vpn.c
+++ b/src/vpn/test_gnunet_vpn.c
@@ -33,6 +33,8 @@
33 33
34#define START_ARM GNUNET_YES 34#define START_ARM GNUNET_YES
35 35
36#define VERBOSE GNUNET_YES
37
36struct PeerContext 38struct PeerContext
37{ 39{
38 struct GNUNET_CONFIGURATION_Handle *cfg; 40 struct GNUNET_CONFIGURATION_Handle *cfg;
@@ -257,7 +259,7 @@ allocation_cb (void *cls,
257 if (AF_INET != af) 259 if (AF_INET != af)
258 { 260 {
259 fprintf (stderr, 261 fprintf (stderr,
260z "VPN failed to allocate appropriate address\n"); 262 "VPN failed to allocate appropriate address\n");
261 GNUNET_SCHEDULER_shutdown (); 263 GNUNET_SCHEDULER_shutdown ();
262 return; 264 return;
263 } 265 }
diff --git a/src/vpn/test_gnunet_vpn.conf b/src/vpn/test_gnunet_vpn.conf
index 28052f275..cb6ee9728 100644
--- a/src/vpn/test_gnunet_vpn.conf
+++ b/src/vpn/test_gnunet_vpn.conf
@@ -16,6 +16,8 @@ EXIT_IPV6 = YES
16# interface does not exist; can we use 'lo'? 16# interface does not exist; can we use 'lo'?
17EXIT_IFNAME = eth1 17EXIT_IFNAME = eth1
18 18
19[vpn]
20DEBUG = YES
19 21
20[testing] 22[testing]
21WEAKRANDOM = YES 23WEAKRANDOM = YES