[Asterisk-Dev] ast_gethostbyname

Christian Hecimovic checimovic at qworks.ca
Tue May 4 12:59:08 MST 2004


On Tuesday 04 May 2004 12:30, Ignace CARIA wrote:
> Five days before, I make test using 172.26.139.64 as IP address.  Now I
> use in my Network 192.168.0.16.
>
> Instead of return me my IP network, it returns the first one.  I check
> my IP config, all is well defined.
>
> Any idea?

Check /etc/hosts. ast_gethostbyname() is defined in asterisk.c, and it just 
wraps gethostbyname_r().



More information about the asterisk-dev mailing list