summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_normal_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2/patches/patch-netem_normal_c')
-rw-r--r--package/iproute2/patches/patch-netem_normal_c13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/iproute2/patches/patch-netem_normal_c b/package/iproute2/patches/patch-netem_normal_c
index 719899301..3eada6d03 100644
--- a/package/iproute2/patches/patch-netem_normal_c
+++ b/package/iproute2/patches/patch-netem_normal_c
@@ -1,10 +1,13 @@
---- iproute2-2.6.29-1.orig/netem/normal.c 2009-03-24 23:40:54.000000000 +0100
-+++ iproute2-2.6.29-1/netem/normal.c 2009-12-11 16:35:38.000000000 +0100
-@@ -8,7 +8,6 @@
+--- iproute2-3.12.0.orig/netem/normal.c 2013-11-23 02:10:33.000000000 +0100
++++ iproute2-3.12.0/netem/normal.c 2014-02-09 11:40:30.000000000 +0100
+@@ -8,9 +8,7 @@
#include <string.h>
#include <limits.h>
-#include <linux/types.h>
- #include <linux/pkt_sched.h>
-
+-#include <linux/pkt_sched.h>
+-
++#define NETEM_DIST_SCALE 8192
#define TABLESIZE 16384
+ #define TABLEFACTOR NETEM_DIST_SCALE
+