Browse Source

qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 47629
Felix Fietkau 10 years ago
parent
commit
f5970b9472
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/config/qos-scripts/files/usr/lib/qos/generate.sh

+ 1 - 1
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";;