[openbeosnetteam] Re: Working on route

> Hi, Brennan here.  I just wanted to drop a quick note on what I am
> doing.   I am looking at the route command.  On my system, any time I
> attempt to use route with a host name as an argument (i.e. route add
> myhost) it crashes with a segment violation.  This happens whether
> the hostname is in /etc/hosts or not.  I think I have traced this to
> the call:  hp = gethostbyname(s) (~ line 1020 in route.c).

Hum, yep, guess you're another victim of our broken DNS resolver in libnet.so. 
First, chech that your /etc/resolv.conf:
- exists
- tell to fallback on /etc/hosts too

Then, guess it's time for someone to dive into this DNS code and fix it.
Thanks for volunter :-p

-Philippe

Other related posts: