summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/network/config/qos-scripts/files/usr/lib/qos/generate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
index 01f9b6b..8d22b67 100755
--- a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
@@ -216,7 +216,7 @@ config_cb() {
config_get device "$CONFIG_SECTION" device
[ -z "$device" ] && {
device="$(find_ifname ${CONFIG_SECTION})"
- config_set "$CONFIG_SECTION" device "${device:-eth0}"
+ config_set "$CONFIG_SECTION" device "$device"
}
;;
classgroup) append CG "$CONFIG_SECTION";;