MFC Log:
Before we export network interface data through the ifmibdata structure, OR the flags bits with the driver managed status flags.
This commit is contained in:
parent
92f4e61ec3
commit
516e77bfa8
@ -95,9 +95,9 @@ sysctl_ifdata(SYSCTL_HANDLER_ARGS) /* XXX bad syntax! */
|
||||
|
||||
#define COPY(fld) ifmd.ifmd_##fld = ifp->if_##fld
|
||||
COPY(pcount);
|
||||
COPY(flags);
|
||||
COPY(data);
|
||||
#undef COPY
|
||||
ifmd.ifmd_flags = ifp->if_flags | ifp->if_drv_flags;
|
||||
ifmd.ifmd_snd_len = ifp->if_snd.ifq_len;
|
||||
ifmd.ifmd_snd_maxlen = ifp->if_snd.ifq_maxlen;
|
||||
ifmd.ifmd_snd_drops = ifp->if_snd.ifq_drops;
|
||||
|
Loading…
x
Reference in New Issue
Block a user