From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 Description of problem: The output of 'netstat -ic' is wrong. It will show the field headings and interface data for the first itteration, and then subsequent itterations only show the field headings and no data. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Run 'netstat -ic' 2. 3. Actual Results: Here are the first three itterations from 'netstat -ic', net-tools-1.60-3 on a 7.2 box (2.4.9-21 kernel): Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 1364387 18 0 0 4061495 14 0 13 BNRU lo 16436 0 3592 0 0 0 3592 0 0 0 LRU Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg Expected Results: Here are the first three itterations from 'netstat -ic', net-tools-1.57-6 on a 7.1 box (2.4.9-21 kernel): Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 19417406 3 0 0 39446714 2 0 0 BRU lo 16436 0 764 0 0 0 764 0 0 0 LRU Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 19417442 3 0 0 39446734 2 0 0 BRU lo 16436 0 764 0 0 0 764 0 0 0 LRU Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 19417475 3 0 0 39446754 2 0 0 BRU lo 16436 0 764 0 0 0 764 0 0 0 LRU Additional info: This was working in 7.1, but is not working in 7.2. The output seems to be incorrect every time, on every 7.2 box I have tried.
Thats really strange. I'll take a look into it before the next versions goes out. Read ya, Phil
Looks like its in the current betas from the package version number (not tested this through). Debian has same bug - its from the upstream. Fix is apparently in pipeline, but not appeared as yet. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=109164&repeatmerged=yes
Cool, thanks for the info. Waiting for upstream to fix it then. :-) Read ya, Phil
netstat -ic first run should show cumalitive data, subsequent runs should show delta's. Please see patch added to bug id#64862 that provides this desired (and UNIX like) behaviour.
Included patch and it works nicely again. Thanks for the patch. :-) Read ya, Phil