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

Simon Perreault simon.perreault at viagenie.ca
Thu May 5 13:32:08 CDT 2011


On 2011-05-05 14:28, Simon Perreault wrote:
> IPv4address    =  1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT

Hmmm...

Looks like interpreting "1050" as an IPv4 address is wrong according to SIP.

So we need a grammar check before feeding it to getaddrinfo().

Was that your point?

Simon
-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca



More information about the asterisk-dev mailing list