Re: [bug] PJSIP 2.5.5 with PJ_HAS_IPV6=1: pjsip_endpt_create_resolver failed on system without IPv6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Re: [pjsip] [bug] PJSIP 2.5.5 with PJ_HAS_IPV6=1: pjsip_endpt_create_resolver failed on system without IPv6
Hello Nanang,

I tested on Linux when kernel compiled without IPv6
# CONFIG_IPV6 is not set

Regards,
Alexei

Tuesday, August 16, 2016, 2:45:58 AM, you wrote:

Hi Alexei,

Thank you for the report. The bug sounds valid, unfortunately I could not reproduce the issue on Windows 10 and Linux, have tried to manually disable IPv6 but still init_sock() did not fail (perhaps IPv6 loopback interface is still up). So I am afraid we'd need some more help to test the attached patch, thanks again in advance.

BR,
nanang


On Wed, Aug 10, 2016 at 4:20 AM, Alexei Gradinari <
alex2grad@xxxxxxxxx> wrote:
Hello,

The function init_sock at pjlib-util/src/pjlib-util/resolver.c
should check if the IPv6 is available instead of return an error.

Regards,
Alexei


_______________________________________________
Visit our blog:
http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux