From 992fb11b7834ed6bed60459a90dfbfb7ceab8ab6 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Thu, 18 Oct 2018 14:55:15 +0200 Subject: [PATCH] Little SQM fix in wizard --- .../luasrc/controller/openmptcprouter.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua index e1e6e3e36..96081a3fc 100644 --- a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua +++ b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua @@ -148,11 +148,11 @@ function wizard_add() ucic:set("qos",intf,"upload",uploadspeed) ucic:set("qos",intf,"enabled","1") else - ucic:set("sqm",intf,"download","") - ucic:set("sqm",intf,"upload","") + ucic:set("sqm",intf,"download","0") + ucic:set("sqm",intf,"upload","0") ucic:set("sqm",intf,"enabled","0") - ucic:set("qos",intf,"download","") - ucic:set("qos",intf,"upload","") + ucic:set("qos",intf,"download","0") + ucic:set("qos",intf,"upload","0") ucic:set("qos",intf,"enabled","0") end end