Date: Wed, 4 Mar 2009 01:31:09 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189331 - head/tools/tools/ifinfo Message-ID: <200903040131.n241V9tM027011@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yongari Date: Wed Mar 4 01:31:09 2009 New Revision: 189331 URL: http://svn.freebsd.org/changeset/base/189331 Log: Make ifinfo build. The struct if_data members ifi_recvquota and ifi_xmitquota were renamed to ifi_spare_char1 and ifi_spare_char2 respectively. Modified: head/tools/tools/ifinfo/ifinfo.c Modified: head/tools/tools/ifinfo/ifinfo.c ============================================================================== --- head/tools/tools/ifinfo/ifinfo.c Wed Mar 4 01:17:05 2009 (r189330) +++ head/tools/tools/ifinfo/ifinfo.c Wed Mar 4 01:31:09 2009 (r189331) @@ -169,8 +169,8 @@ printit(const struct ifmibdata *ifmd, co 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903040131.n241V9tM027011>