summaryrefslogtreecommitdiff
path: root/src/client/ClientNew.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ClientNew.cxx')
-rw-r--r--src/client/ClientNew.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientNew.cxx b/src/client/ClientNew.cxx
index 97a891e7a..772c5661b 100644
--- a/src/client/ClientNew.cxx
+++ b/src/client/ClientNew.cxx
@@ -65,7 +65,7 @@ client_new(EventLoop &loop, Partition &partition,
assert(fd >= 0);
#ifdef HAVE_LIBWRAP
- if (address.GetFamily() != AF_UNIX) {
+ if (address.GetFamily() != AF_LOCAL) {
// TODO: shall we obtain the program name from argv[0]?
const char *progname = "mpd";