From owner-freebsd-hackers Wed Dec 11 16:06:33 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA21654 for hackers-outgoing; Wed, 11 Dec 1996 16:06:33 -0800 (PST) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA21643 for ; Wed, 11 Dec 1996 16:06:28 -0800 (PST) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by mail.cdsnet.net (8.7.6/8.7.3) with SMTP id QAA01862 for ; Wed, 11 Dec 1996 16:06:27 -0800 (PST) Date: Wed, 11 Dec 1996 16:06:27 -0800 (PST) From: Jaye Mathisen To: hackers@freebsd.org Subject: Bug in netstat -r Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.