[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

route reads /etc/networks, but not /etc/hosts



I noticed something strange with the route command:

On a potato box, the route command only reads /etc/networks.
On a slink box, /etc/networks AND /etc/hosts is read.

This is verified by strace.

Both systems have the same line in /etc/nsswitch.conf:

hosts:          files dns
networks:       files

Can anyone verify this?

Thanks,

Joop
-- 

 Joop Stakenborg - Debian GNU/Linux developer
      <pa3aba@debian.org>


Reply to: