diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-04-26 11:25:07 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-04-26 11:25:07 +0000 |
commit | 9145bbd450b41b3d36e63a815d45bf740a3e0230 (patch) | |
tree | 6307de5b04b7eea58b8169c069c66d2d477930f9 /services | |
parent | d3348d437fb0408bc24892ebd0b035686c294705 (diff) | |
download | src-9145bbd450b41b3d36e63a815d45bf740a3e0230.tar.gz src-9145bbd450b41b3d36e63a815d45bf740a3e0230.zip |
import unbound 1.5.3vendor/unbound/1.5.3
Notes
Notes:
svn path=/vendor/unbound/dist/; revision=282011
svn path=/vendor/unbound/1.5.3/; revision=282012; tag=vendor/unbound/1.5.3
Diffstat (limited to 'services')
-rw-r--r-- | services/listen_dnsport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/listen_dnsport.c b/services/listen_dnsport.c index 1addfa901dbb..3e5bf4004448 100644 --- a/services/listen_dnsport.c +++ b/services/listen_dnsport.c @@ -609,7 +609,7 @@ create_local_accept_sock(const char *path, int* noproto) /* length is 92-108, 104 on FreeBSD */ (void)strlcpy(usock.sun_path, path, sizeof(usock.sun_path)); - if ((s = socket(PF_LOCAL, SOCK_STREAM, 0)) == -1) { + if ((s = socket(AF_LOCAL, SOCK_STREAM, 0)) == -1) { log_err("Cannot create local socket %s (%s)", path, strerror(errno)); return -1; |