Hello community, here is the log from the commit of package net-tools checked in at Sat Sep 13 05:59:30 CEST 2008. -------- --- net-tools/net-tools.changes 2008-09-08 16:58:30.000000000 +0200 +++ net-tools/net-tools.changes 2008-09-10 10:38:52.243716000 +0200 @@ -1,0 +2,7 @@ +Wed Sep 10 10:18:19 CEST 2008 - ms@suse.de + +- fixed netstat -ci which prints the stats only on the first loop + on subsequent loops it says "no statistics available", even though + there was network traffic in between (bnc #424813) + +------------------------------------------------------------------- New: ---- net-tools-1.60-netstat-ci.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ net-tools.spec ++++++ --- /var/tmp/diff_new_pack.sc2095/_old 2008-09-13 05:58:59.000000000 +0200 +++ /var/tmp/diff_new_pack.sc2095/_new 2008-09-13 05:58:59.000000000 +0200 @@ -28,7 +28,7 @@ Obsoletes: traceroute net_tool AutoReqProv: on Version: 1.60 -Release: 716 +Release: 718 Summary: Important Programs for Networking BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: net-tools-%{version}.tar.bz2 @@ -64,6 +64,7 @@ Patch28: traceroute-strip.diff Patch30: net-tools-1.60-ifconfig.8.diff Patch31: net-tools-1.60-tcp-recvq-listen.patch +Patch32: net-tools-1.60-netstat-ci.diff %description This package contains essential programs for network administration and @@ -113,6 +114,7 @@ %patch27 -p1 %patch30 -p1 %patch31 -p1 +%patch32 -p1 %build make config @@ -166,6 +168,10 @@ %lang(pt_BR) %doc %_mandir/pt_BR/man*/* %changelog +* Wed Sep 10 2008 ms@suse.de +- fixed netstat -ci which prints the stats only on the first loop + on subsequent loops it says "no statistics available", even though + there was network traffic in between (bnc #424813) * Tue Sep 02 2008 ms@suse.de - update to traceroute 1.2 which allows tracing over TCP. This fix implements ++++++ net-tools-1.60-netstat-ci.diff ++++++ --- net-tools-1.60/netstat.c 2008-09-10 08:32:10.000000000 +0000 +++ net-tools-1.60/netstat.c 2008-09-10 08:33:08.000000000 +0000 @@ -1922,8 +1922,6 @@ printf(_("Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg\n")); } - get_max_ifacename(); - if (flag_cacheof == 1) { if (for_all_interfaces(do_if_cache_print, &flag_all, flag_cacheof) < 0) { perror(_("missing interface information")); @@ -2203,6 +2201,7 @@ return (i); } if (flag_int) { + get_max_ifacename(flag_cacheof); for (;;) { i = iface_info(); if (!flag_cnt || i) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org