Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 1996 16:06:27 -0800 (PST)
From:      Jaye Mathisen  <mrcpu@cdsnet.net>
To:        hackers@freebsd.org
Subject:   Bug in netstat -r
Message-ID:  <Pine.NEB.3.95.961211160157.24955M-100000@mail.cdsnet.net>

next in thread | raw e-mail | index | archive | help

2.2-current (from August or so).

Or at least I consider it a bug.

If you have a DNS entry that matches a /etc/networks entry, the DNS
IN-ADDR lookup takes preference over the /etc/networks entry even when
showing the route to a network as opposed to a host.

Seems to me that when showing a G entry, it should always show either IP
address or the /etc/networks entry.

Or am I missing something?

For example:

net1801/27         med-pm9            UGSc        0  2942376       ep1 =>
net1801            med-pm9            UGc         0     3555       ep1
med-0002.dip       med-pm10           UGH         0        0       ep1 =>
med-0002.dip/27    med-pm10           UGSc        0   406135       ep1


med-0002.dip should be net1802 defined in /etc/networks.  net1801 works,
because I have no inverse lookup for my .0 entry.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.961211160157.24955M-100000>