From 75a18d71b832d88f6bcbc5206f57daa236bcb9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Fri, 30 Aug 2013 11:10:40 +0200 Subject: [PATCH] Fix lnstat -i properly this time --- iproute.spec | 5 ++++- iproute2-3.10.0-lnstat-interval.patch | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/iproute.spec b/iproute.spec index 2ff89b6..0c3e487 100644 --- a/iproute.spec +++ b/iproute.spec @@ -2,7 +2,7 @@ Summary: Advanced IP routing and network device configuration tools Name: iproute Version: 3.10.0 -Release: 5%{?dist} +Release: 6%{?dist} Group: Applications/System URL: http://kernel.org/pub/linux/utils/net/%{name}2/ Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.gz @@ -175,6 +175,9 @@ done %{_includedir}/libnetlink.h %changelog +* Fri Aug 30 2013 Petr Šabata - 3.10.0-6 +- Fix lnstat -i properly this time + * Thu Aug 29 2013 Petr Šabata - 3.10.0-5 - Fix an 'ip link' hang (#996537) diff --git a/iproute2-3.10.0-lnstat-interval.patch b/iproute2-3.10.0-lnstat-interval.patch index 9950183..d2ea1a0 100644 --- a/iproute2-3.10.0-lnstat-interval.patch +++ b/iproute2-3.10.0-lnstat-interval.patch @@ -23,7 +23,7 @@ index dca10ad..2889e5e 100644 print_line(stdout, lnstat_files, &fp); fflush(stdout); sleep(interval); -+ if (!count) ++i; ++ if (count) ++i; } }