]> git.pld-linux.org Git - packages/iproute2.git/blobdiff - iproute2-rates-1024-fix.patch
This commit was manufactured by cvs2git to create branch 'LINUX_2_6_11'.
[packages/iproute2.git] / iproute2-rates-1024-fix.patch
diff --git a/iproute2-rates-1024-fix.patch b/iproute2-rates-1024-fix.patch
deleted file mode 100644 (file)
index 89dfd0b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
---- iproute2-2.6.8/tc/tc_util.c        2004-07-02 17:53:03.000000000 +0000
-+++ iproute2-2.6.8.new/tc/tc_util.c    2004-07-25 17:40:46.427882688 +0000
-@@ -125,11 +125,11 @@
-       else if (strcasecmp(p, "gibit") == 0)
-               bps *= 1024*1024*1024/8;
-       else if (strcasecmp(p, "kbps") == 0)
--              bps *= 1024;
-+              bps *= 1000;
-       else if (strcasecmp(p, "mbps") == 0)
--              bps *= 1024*1024;
-+              bps *= 1000*1000;
-       else if (strcasecmp(p, "gbps") == 0)
--              bps *= 1024*1024*1024;
-+              bps *= 1000*1000*1000;
-       else if (strcasecmp(p, "bps") != 0)
-               return -1;
This page took 0.088537 seconds and 4 git commands to generate.