← Back to team overview

mosquitto-dev team mailing list archive

Re: [Question #146289]: address family not supported by protocol

 

Question #146289 on mosquitto changed:
https://answers.launchpad.net/mosquitto/+question/146289

    Status: Open => Answered

Yuvraaj Kelkar proposed the following answer:
These symptoms are present on the Maemo and Diablo Nokia tablets as
well. The way to fix them is to not abort mosquitto when it fails to
open the ipv6 interface. Ignore that socket and let mosquitto run.

Specific code change required:
mosquitto/src/net.c: mqtt3_socket_listen(...): In the error handling after the socket call, replace the "return 1" with a "continue".

-- 
You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.