[asterisk-dev] [Code Review] Add getnameinfo() to ast_sockaddr_resolve()

Simon Perreault reviewboard at asterisk.org
Tue May 3 13:53:54 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1202/#review3460
-----------------------------------------------------------


This patch looks very wrong to me.

What are you trying to accomplish?

- Simon


On 2011-05-03 13:36:52, Paul Belanger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1202/
> -----------------------------------------------------------
> 
> (Updated 2011-05-03 13:36:52)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> I spend some time last week trying to resolve an issue when you Dial() an unknown SIP peer. EG: Dial(SIP/blah).  When we moved to IPv6 support we changed the way lookups were done.  I took some time to research on the Internet, and found a few examples of how to use getnameinfo() as an additional error check for getaddrinfo().
> 
> 
> This addresses bug 18514.
>     https://issues.asterisk.org/view.php?id=18514
> 
> 
> Diffs
> -----
> 
>   trunk/channels/chan_sip.c 314598 
>   trunk/main/netsock2.c 314598 
> 
> Diff: https://reviewboard.asterisk.org/r/1202/diff
> 
> 
> Testing
> -------
> 
> Local testing and user on issue tracker.
> 
> 
> Thanks,
> 
> Paul
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110503/2bb4c680/attachment.htm>


More information about the asterisk-dev mailing list