From owner-freebsd-current Sun Apr 9 06:39:12 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA20492 for current-outgoing; Sun, 9 Apr 1995 06:39:12 -0700 Received: from gw.itfs.nsk.su (gw.itfs.nsk.su [193.124.36.33]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA20486 for ; Sun, 9 Apr 1995 06:39:01 -0700 Received: from localhost (nnd@localhost) by gw.itfs.nsk.su (8.6.4/8.6.4) id TAA04494 for current@freebsd.org; Sun, 9 Apr 1995 19:55:27 +0700 Date: Sun, 9 Apr 1995 19:55:27 +0700 From: "Nickolay N. Dudorov" Message-Id: <199504091255.TAA04494@gw.itfs.nsk.su> To: current@FreeBSD.org Subject: (Small) error in -current Sender: current-owner@FreeBSD.org Precedence: bulk There is an error in current (CTM#498). Here is my (trivial) fix for it: N.Dudorov =============================================================== --- /usr/src/usr.bin/netstat/inet.c.OLD Sun Apr 9 20:22:19 1995 +++ /usr/src/usr.bin/netstat/inet.c Sun Apr 9 20:22:19 1995 @@ -99,7 +99,7 @@ kread(off, (char *)&head, sizeof (struct inpcbhead)); prev = (struct inpcb *)off; - for (next = head.lh_first; next != NULL; next = inpcb.list.le_next) { + for (next = head.lh_first; next != NULL; next = inpcb.inp_list.le_next) { kread((u_long)next, (char *)&inpcb, sizeof (inpcb)); if (!aflag && inet_lnaof(inpcb.inp_laddr) == INADDR_ANY) {