From ed7f6aebaf1534af96e9f1bb5c676877f5895067 Mon Sep 17 00:00:00 2001 From: dg Date: Sun, 9 Apr 1995 15:12:21 +0000 Subject: That's what I get for doing things in a hurry...applied up-to-date patch to this file rather than old one (before I renamed the structure element). --- usr.bin/netstat/inet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/netstat') diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 849ac2d..3b342bb 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -99,7 +99,7 @@ protopr(off, name) 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) { -- cgit v1.1