summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/inet.c
diff options
context:
space:
mode:
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 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