Make ifinfo build. The struct if_data members ifi_recvquota and
ifi_xmitquota were renamed to ifi_spare_char1 and ifi_spare_char2 respectively.
This commit is contained in:
parent
eb3144b210
commit
8afdb6983e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189331
@ -169,8 +169,8 @@ printit(const struct ifmibdata *ifmd, const char *dname)
|
||||
ifmd->ifmd_data.ifi_physical));
|
||||
printf("\taddress length: %d\n", ifmd->ifmd_data.ifi_addrlen);
|
||||
printf("\theader length: %d\n", ifmd->ifmd_data.ifi_hdrlen);
|
||||
printf("\treceive quota: %d\n", ifmd->ifmd_data.ifi_recvquota);
|
||||
printf("\ttransmit quota: %d\n", ifmd->ifmd_data.ifi_xmitquota);
|
||||
printf("\treceive spare char1: %u\n", ifmd->ifmd_data.ifi_spare_char1);
|
||||
printf("\ttransmit spare char2: %u\n", ifmd->ifmd_data.ifi_spare_char2);
|
||||
printf("\tmtu: %lu\n", ifmd->ifmd_data.ifi_mtu);
|
||||
printf("\tmetric: %lu\n", ifmd->ifmd_data.ifi_metric);
|
||||
printf("\tline rate: %lu bit/s\n", ifmd->ifmd_data.ifi_baudrate);
|
||||
|
Loading…
Reference in New Issue
Block a user