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

Benny Amorsen benny+usenet at amorsen.dk
Thu May 5 15:34:08 CDT 2011


Simon Perreault <simon.perreault at viagenie.ca> writes:

> If the user specifies "1050" with "this is *not* a peer", then the
> reasonable course of action is to interpret this as an IP address.

It could also be an unqualified host name. If your search path is
example.com, that could turn into 1050.example.com which might have SRV
or A records.

It might not be worth worrying about though.


/Benny



More information about the asterisk-dev mailing list