]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- use correct printf conversion for {r,t}x_bytes (by Pawel Nogas)
authorsaq <saq@pld-linux.org>
Sat, 21 Feb 2004 00:47:30 +0000 (00:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iproute2-ipaddress.patch -> 1.1

iproute2-ipaddress.patch [new file with mode: 0644]

diff --git a/iproute2-ipaddress.patch b/iproute2-ipaddress.patch
new file mode 100644 (file)
index 0000000..cbd8eb1
--- /dev/null
@@ -0,0 +1,20 @@
+--- 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)
This page took 1.907855 seconds and 4 git commands to generate.