• Max Kellermann's avatar
    listen: bind() failure on secondary address is non-fatal · d5ddecb1
    Max Kellermann authored
    Several users had problems with binding MPD to "localhost".  The cause
    was duplicate /etc/hosts entries: the resolver library returns
    127.0.0.1 twice, and of course, MPD attempts to bind to "both" of
    them.  This patch makes failures non-fatal, given that at least one
    address was bound successfully.  This is a workaround; users should
    rather fix their /etc/hosts file.
    d5ddecb1
listen.c 9.7 KB