Pod jajkiem 2.6 nie dziala prawidlowo "ip -s l"
> ip -s l
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes packets errors dropped overrun mcast
65708709664177 0 0 0 0 1073833328
TX: bytes packets errors dropped carrier collsns
65708709664177 0 0 0 0 1073833328
powinno byc:
>ip -s l
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes packets errors dropped overrun mcast
5002765 15301 0 0 0 0
TX: bytes packets errors dropped carrier collsns
5002765 15301 0 0 0 0
Poprawki w zalaczeniu
P.
--- iproute2/ip/ipaddress.orig.c Sat Feb 21 00:29:56 2004
+++ iproute2/ip/ipaddress.c Sat Feb 21 00:30:42 2004
@@ -222,7 +222,7 @@
fprintf(fp, "%s", _SL_);
fprintf(fp, " RX: bytes packets errors dropped overrun mcast %s%s",
s->rx_compressed ? "compressed" : "", _SL_);
- fprintf(fp, " %-14llu %-8lu %-7lu %-7lu %-7lu %-7lu",
+ fprintf(fp, " %-14lu %-8lu %-7lu %-7lu %-7lu %-7lu",
s->rx_bytes, s->rx_packets, s->rx_errors,
s->rx_dropped, s->rx_over_errors,
s->multicast
@@ -243,7 +243,7 @@
fprintf(fp, "%s", _SL_);
fprintf(fp, " TX: bytes packets errors dropped carrier collsns %s%s",
s->tx_compressed ? "compressed" : "", _SL_);
- fprintf(fp, " %-14llu %-8lu %-7lu %-7lu %-7lu %-7lu",
+ fprintf(fp, " %-14lu %-8lu %-7lu %-7lu %-7lu %-7lu",
s->tx_bytes, s->tx_packets, s->tx_errors,
s->tx_dropped, s->tx_carrier_errors, s->collisions);
if (s->tx_compressed)
--- iproute2.spec.org Fri Jan 2 18:34:23 2004
+++ iproute2.spec Sat Feb 21 00:36:36 2004
@@ -38,6 +38,7 @@
Patch10: wrr-iproute2-2.2.4.patch
Patch11: %{name}-2.2.4-now-ss001007-esfq.diff
Patch12: %{name}-kernel_headers.patch
+Patch13: %{name}-ipaddress.patch
BuildRequires: bison
%{?with_tetex:BuildRequires: psutils}
%{?with_tetex:BuildRequires: sgml-tools}
@@ -99,6 +100,7 @@
%{?with_tc_wrr:%patch10 -p1}
%{?with_tc_esfq:%patch11 -p1}
%patch12 -p1
+%patch13 -p1
%build
WRRDEF=""
__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles