Commit 29228dab authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Use AF_UNIX instead of AF_LOCAL (fixes Solaris build)

parent f0b494fa
......@@ -407,7 +407,7 @@ private:
int createFds() {
int fds[2];
int result = socketpair(AF_LOCAL, SOCK_STREAM, 0, fds);
int result = socketpair(AF_UNIX, SOCK_STREAM, 0, fds);
if (result != 0) {
isc_throw(Unexpected, "Can't create socket pair: " <<
strerror(errno));
......
......@@ -86,7 +86,7 @@ protected:
private:
int generateSockets() {
int pair[2];
int result = socketpair(AF_LOCAL, SOCK_STREAM, 0, pair);
int result = socketpair(AF_UNIX, SOCK_STREAM, 0, pair);
assert(result == 0);
write_end = pair[0];
read_end = pair[1];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment