aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/lib')
-rwxr-xr-xtarget/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
index aefefcd42b..adf245aa3b 100755
--- a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
+++ b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
@@ -31,7 +31,7 @@ dsl_string() {
dbt() {
local a=$(expr $1 / 10)
local b=$(expr $1 % 10)
- echo "${a}.${b}"
+ echo "${a}.${b#-}"
}
#
# Take a number and convert to k or meg