mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-15 19:22:55 -05:00
Fixup control socket test for OSX.
git-svn-id: file:///svn/unbound/trunk@3320 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
79044dc6cf
commit
c9a20c4a33
2 changed files with 1 additions and 0 deletions
|
|
@ -600,6 +600,7 @@ create_local_accept_sock(const char *path, int* noproto)
|
|||
int s;
|
||||
struct sockaddr_un sun;
|
||||
|
||||
verbose(VERB_ALGO, "creating unix socket %s", path);
|
||||
#ifdef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN
|
||||
/* this member exists on BSDs, not Linux */
|
||||
sun.sun_len = (socklen_t)sizeof(sun);
|
||||
|
|
|
|||
BIN
testdata/ctrl_pipe.tpkg
vendored
BIN
testdata/ctrl_pipe.tpkg
vendored
Binary file not shown.
Loading…
Reference in a new issue