[sqm-scripts/luci-app-sqm] Document how to disable shaping on a per direction basis
authorToke Høiland-Jørgensen <toke@toke.dk>
Wed, 17 Jun 2015 11:03:03 +0000 (13:03 +0200)
committerToke Høiland-Jørgensen <toke@toke.dk>
Wed, 17 Jun 2015 11:04:54 +0000 (13:04 +0200)
sqm-scripts for a long time interprets a "Down- or Upload speed" of zero as
an indication that the shaper should be disabled. Note that really shaping
an individual direction down  o zero will make the link effectively dead
for tcp (think reverse ACK traffic). Son instead of allowing the user to
configure something broken, 0 was "over-loaded" to denote no shaping
since several years, but that information has not been documented visibly
to the users. This commit aims at fixing that oversight.

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
net/luci-app-sqm/Makefile
net/luci-app-sqm/files/sqm-cbi.lua

index f0bb2a0ac6654bbf4068f28b98eb2b26664ab9b8..c4fbc128338e0e775d817f568e668259008de612 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=luci-app-sqm
 PKG_VERSION:=3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_LICENSE:=GPLv2
 LUCI_DIR:=/usr/lib/lua/luci
 
index 8379025979e176b0469681d3026a9e7366e26e5e..49ab13057d2e19e61c654eef268a36b9fb997f3a 100644 (file)
@@ -52,11 +52,11 @@ end
 n.rmempty = false
 
 
-dl = s:taboption("tab_basic", Value, "download", translate("Download speed (kbit/s) (ingress):"))
+dl = s:taboption("tab_basic", Value, "download", translate("Download speed (kbit/s) (ingress) set to 0 to selectively disable ingress shaping:"))
 dl.datatype = "and(uinteger,min(0))"
 dl.rmempty = false
 
-ul = s:taboption("tab_basic", Value, "upload", translate("Upload speed (kbit/s) (egress):"))
+ul = s:taboption("tab_basic", Value, "upload", translate("Upload speed (kbit/s) (egress) set to 0 to selectively disable egress shaping:"))
 ul.datatype = "and(uinteger,min(0))"
 ul.rmempty = false