Fix lnstat -i properly this time

This commit is contained in:
Petr Šabata 2013-08-30 11:10:40 +02:00
parent f4984bb20b
commit 75a18d71b8
2 changed files with 5 additions and 2 deletions

View File

@ -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 <contyk@redhat.com> - 3.10.0-6
- Fix lnstat -i properly this time
* Thu Aug 29 2013 Petr Šabata <contyk@redhat.com> - 3.10.0-5
- Fix an 'ip link' hang (#996537)

View File

@ -23,7 +23,7 @@ index dca10ad..2889e5e 100644
print_line(stdout, lnstat_files, &fp);
fflush(stdout);
sleep(interval);
+ if (!count) ++i;
+ if (count) ++i;
}
}