lantiq-dsl: bugfix db negative sign after comma
[openwrt.git] / target / linux / lantiq / base-files / lib / functions / lantiq_dsl.sh
index aefefcd..adf245a 100755 (executable)
@@ -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