summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-04-09 15:12:21 +0000
committerdg <dg@FreeBSD.org>1995-04-09 15:12:21 +0000
commited7f6aebaf1534af96e9f1bb5c676877f5895067 (patch)
tree07bc59c2e57609b31837cd0faa9673ed54d2b561 /usr.bin/netstat
parente8ff66af03039a32b2bdf2f4bba9843809a54cd2 (diff)
downloadFreeBSD-src-ed7f6aebaf1534af96e9f1bb5c676877f5895067.zip
FreeBSD-src-ed7f6aebaf1534af96e9f1bb5c676877f5895067.tar.gz
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).
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/inet.c2
1 files changed, 1 insertions, 1 deletions
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) {
OpenPOWER on IntegriCloud