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:
Pyun YongHyeon 2009-03-04 01:31:09 +00:00
parent eb3144b210
commit 8afdb6983e

View File

@ -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);