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; } }