ifconfig accounting wrong?

Chris Lo (cklo@cklo.hk.super.net)
Sat, 8 Feb 1997 20:25:03 +0800 (HKT)


lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:20 dropped:0 overruns:0
TX packets:0 errors:0 dropped:20 overruns:0

dummy0 Link encap:10Mbps Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0

ppp0 Link encap:Point-Point Protocol
inet addr:152.101.192.5 P-t-P:152.101.254.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:0 errors:7 dropped:0 overruns:0
TX packets:0 errors:0 dropped:8 overruns:0

hkucs92:~# ifconfig -V
Linux NET-3 Base Utilities
Source: net-tools 1.32-alpha net-tools@lina.inka.de (Bernd Eckenfels)
Kernelsource: 2.1.7
ifconfig 1.22 (1996-05-09)

I am recompiling net-tool 1.32 alpha, but it complains incomplete field,
probably this is the problem...

gcc -O2 -Wall -fomit-frame-pointer -I. -Ilib -c ifconfig.c -o
ifconfig.o
ifconfig.c:76: field `stats' has incomplete type

Chris