aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sqm-scripts/10-defaults.sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sqm-scripts/10-defaults.sh.patch')
-rw-r--r--testing/sqm-scripts/10-defaults.sh.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/sqm-scripts/10-defaults.sh.patch b/testing/sqm-scripts/10-defaults.sh.patch
index ab1d85d5af..d2c7bdd6fe 100644
--- a/testing/sqm-scripts/10-defaults.sh.patch
+++ b/testing/sqm-scripts/10-defaults.sh.patch
@@ -1,5 +1,5 @@
---- sqm-scripts-1.0.6/src/defaults.sh.orig
-+++ sqm-scripts-1.0.6/src/defaults.sh
+--- a/src/defaults.sh
++++ b/src/defaults.sh
@@ -27,7 +27,7 @@
[ -z "$IP" ] && IP=ip_wrapper
[ -z "$IP_BINARY" ] && IP_BINARY=$(which ip)
@@ -7,5 +7,5 @@
-[ -z "$INSMOD" ] && INSMOD=$(which modprobe) || INSMOD=$(which insmod)
+[ -n "$INSMOD" ] || INSMOD=$(which modprobe) || INSMOD=$(which insmod)
[ -z "$TARGET" ] && TARGET="5ms"
- [ -z "$IPT_MASK" ] && IPT_MASK="0xff"
- [ -z "$IPT_MASK_STRING" ] && IPT_MASK_STRING="/${IPT_MASK}" # for set-mark
+ [ -z "$IPT_MASK" ] && IPT_MASK="0xff" # to disable: set mask to 0xffffffff
+ #sm: we need the functions above before trying to set the ingress IFB device