applications/luci-statistics: rework handling of index and detail graphs
[project/luci.git] / applications / luci-statistics / luasrc / statistics / rrdtool / definitions / tcpconns.lua
index 4e00cbe..4f1c221 100644 (file)
@@ -28,9 +28,8 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
                                        "LAST_ACK", "TIME_WAIT", "CLOSING", "CLOSE_WAIT",
                                        "CLOSED", "FIN_WAIT1", "FIN_WAIT2"
                                },
-                               options = { for k, v in (tcp_connections) do
-                                       v = { title = "%di", noarea = true }
-                                       end
+                               options = {
+                                       load__ESTABLISHED = { title = "%di", noarea = true }
                                }
                        }
                }