aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/netstat/inet.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-04-09 15:12:21 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-04-09 15:12:21 +0000
commita9d6f1a78df6367de68e12aab432e8954f00788a (patch)
tree07bc59c2e57609b31837cd0faa9673ed54d2b561 /usr.bin/netstat/inet.c
parent6c5325bf0e55ecfa5a6b5f77761336aa1c406a42 (diff)
Notes
Diffstat (limited to 'usr.bin/netstat/inet.c')
-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 849ac2da42ed..3b342bb3d8f4 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) {