summaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-helper-vpn.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-30 13:06:51 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-30 13:06:51 +0000
commit91b1aa807cc9cda1dc109bdc8760ff3a4540cab5 (patch)
tree25a5ff90690afca9ffed3beb392aa4d359104410 /src/vpn/gnunet-helper-vpn.c
parente5c57ab0ffad11a6c1d05eb5be50574057d96699 (diff)
-better error reporting
Diffstat (limited to 'src/vpn/gnunet-helper-vpn.c')
-rw-r--r--src/vpn/gnunet-helper-vpn.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c
index 77512832d..5a1b708e2 100644
--- a/src/vpn/gnunet-helper-vpn.c
+++ b/src/vpn/gnunet-helper-vpn.c
@@ -553,7 +553,12 @@ main (int argc, char **argv)
if (-1 == (fd_tun = init_tun (dev)))
{
- fprintf (stderr, "Fatal: could not initialize tun-interface\n");
+ fprintf (stderr, "Fatal: could not initialize tun-interface `%s' with IPv6 %s/%s and IPv4 %s/%s\n",
+ dev,
+ argv[2],
+ argv[3],
+ argv[4],
+ argv[5]);
return 1;
}