Add connbytes support to QoS
[project/luci.git] / applications / luci-qos / luasrc / model / cbi / qos / qosmini.lua
index a1825505bedebd18166d9d853c8f886e42dd846b..e80e4e560e8cc0108d3c11d980403224c010f97b 100644 (file)
@@ -59,11 +59,11 @@ end
 p2p = s:option(ListValue, "ipp2p", "P2P")
 p2p:value("", "-")
 p2p:value("all", translate("all"))
-p2p:value("bit", "BitTorrent")
-p2p:value("dc", "DirectConnect")
-p2p:value("edk", "eDonkey")
-p2p:value("gnu", "Gnutella")
-p2p:value("kazaa", "Kazaa")
+p2p:value("bit", "BIT")
+p2p:value("dc", "DC")
+p2p:value("edk", "EDK")
+p2p:value("gnu", "GNU")
+p2p:value("kazaa", "KAZ")
 p2p.rmempty = true
 
 p = s:option(ListValue, "proto", translate("protocol"))
@@ -77,4 +77,6 @@ ports = s:option(Value, "ports", translate("ports"))
 ports.rmempty = true
 ports:value("", translate("allf", translate("all")))
 
+bytes = s:option(Value, "connbytes", translate("qos_connbytes"))
+
 return m