diff --git a/sys/alpha/osf1/osf1_ioctl.c b/sys/alpha/osf1/osf1_ioctl.c index e96d565ee7b4..5d8916c8e3d5 100644 --- a/sys/alpha/osf1/osf1_ioctl.c +++ b/sys/alpha/osf1/osf1_ioctl.c @@ -202,7 +202,7 @@ osf1_ioctl_i(p, uap, cmd, dir, len) * structure, as DU interface names are all different. */ for (ifn = 0; ifn < if_index; ifn++) { - ifp = ifnet_addrs[ifn]->ifa_ifp; /* pointer to interface */ + ifp = ifnet_byindex(ifn); /* Only look at ether interfaces, exclude alteon nics * because osf/1 doesn't know about most of them. */