aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-26 18:48:59 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-26 18:48:59 +0000
commitfa7d6b32530d3d8c2d7e542a15319c74c22061b6 (patch)
tree8f4c7615c89f646a66fc709b698ef81becdf1ad1 /src/dns
parentd79a03493ba5d0581e828724a402a2054429e7be (diff)
downloadgnunet-fa7d6b32530d3d8c2d7e542a15319c74c22061b6.tar.gz
gnunet-fa7d6b32530d3d8c2d7e542a15319c74c22061b6.zip
moving from abstract unix domain socket paths to normal unix domain socket paths (#2887), removing now unnecessary/dead flags argument to GNUNET_NETWORK_socket_bind
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/dns.conf.in2
-rw-r--r--src/dns/dnsstub.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/dns/dns.conf.in b/src/dns/dns.conf.in
index 7944b410a..a1282b3ed 100644
--- a/src/dns/dns.conf.in
+++ b/src/dns/dns.conf.in
@@ -3,7 +3,7 @@ AUTOSTART = YES
3HOSTNAME = localhost 3HOSTNAME = localhost
4HOME = $SERVICEHOME 4HOME = $SERVICEHOME
5BINARY = gnunet-service-dns 5BINARY = gnunet-service-dns
6UNIXPATH = /tmp/gnunet-service-dns.sock 6UNIXPATH = $SERVICEHOME/gnunet-service-dns.sock
7 7
8# Access to this service can compromise all DNS queries in this 8# Access to this service can compromise all DNS queries in this
9# system. Thus access should be restricted to the same UID. 9# system. Thus access should be restricted to the same UID.
diff --git a/src/dns/dnsstub.c b/src/dns/dnsstub.c
index 0e130a77f..caf90f3d2 100644
--- a/src/dns/dnsstub.c
+++ b/src/dns/dnsstub.c
@@ -167,11 +167,11 @@ open_socket (int af)
167 return NULL; 167 return NULL;
168 } 168 }
169 sa->sa_family = af; 169 sa->sa_family = af;
170 if (GNUNET_OK != GNUNET_NETWORK_socket_bind (ret, 170 if (GNUNET_OK !=
171 sa, 171 GNUNET_NETWORK_socket_bind (ret,
172 alen, 172 sa,
173 0)) 173 alen))
174 { 174 {
175 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 175 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
176 _("Could not bind to any port: %s\n"), 176 _("Could not bind to any port: %s\n"),
177 STRERROR (errno)); 177 STRERROR (errno));