[PATCH] pj_gethostip sets port to zero.

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

 



Hi,

The documentation for pj_gethostip says "On successful resolution, the
address family and address part of this socket address will be filled
up with the host IP address, in network byte order. Other parts of the
socket address are untouched."

However, the port is being reset to zero. Patch is attached.

Thanks,
Nishant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pj.patch
Type: text/x-patch
Size: 484 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131202/e8cc5037/attachment-0001.patch>


[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