summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/qos-scripts/files/usr/lib/qos/generate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh
index 7715a452f9..aceba577d5 100755
--- a/package/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/package/qos-scripts/files/usr/lib/qos/generate.sh
@@ -148,8 +148,8 @@ config_cb() {
# Section start
case "$1" in
interface)
- config_set "$1" "classgroup" "Default"
- config_set "$1" "upload" "128"
+ config_set "$2" "classgroup" "Default"
+ config_set "$2" "upload" "128"
;;
classify|default|reclassify)
option_cb() {