From 941c7ee262792114da1811cf4404b04550e071b1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 Jan 2012 23:42:57 +0000 Subject: [PATCH] -minor fixes --- src/vpn/gnunet-vpn.c | 3 ++- src/vpn/vpn.conf | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/vpn/gnunet-vpn.c b/src/vpn/gnunet-vpn.c index 74c9956e2..74975d3d6 100644 --- a/src/vpn/gnunet-vpn.c +++ b/src/vpn/gnunet-vpn.c @@ -137,12 +137,13 @@ allocation_cb (void *cls, { char buf[INET6_ADDRSTRLEN]; + request = NULL; switch (af) { case AF_INET6: case AF_INET: FPRINTF (stdout, - "%s", + "%s\n", inet_ntop (af, address, buf, sizeof (buf))); break; case AF_UNSPEC: diff --git a/src/vpn/vpn.conf b/src/vpn/vpn.conf index 149a25703..4d4f7d566 100644 --- a/src/vpn/vpn.conf +++ b/src/vpn/vpn.conf @@ -1,6 +1,14 @@ [vpn] +AUTOSTART = YES +PORT = 0 +HOSTNAME = localhost +HOME = $SERVICEHOME CONFIG = $DEFAULTCONFIG -BINARY = gnunet-daemon-vpn +BINARY = gnunet-service-dns +ACCEPT_FROM = 127.0.0.1; +ACCEPT_FROM6 = ::1; +UNIXPATH = /tmp/gnunet-service-dns.sock + IPV6ADDR = 1234::1 IPV6PREFIX = 32 IPV4ADDR = 10.11.10.1 -- 2.25.1