* luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 3 Jun 2008 23:18:37 +0000 (23:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 3 Jun 2008 23:18:37 +0000 (23:18 +0000)
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua [new file with mode: 0644]
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes.lua

diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables/ipt_bytes.lua
new file mode 100644 (file)
index 0000000..15a0ea3
--- /dev/null
@@ -0,0 +1,27 @@
+--[[
+
+Luci statistics - iptables plugin diagram definition
+(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+]]--
+
+module("luci.statistics.rrdtool.definitions.iptables.ipt_bytes", package.seeall)
+
+function rrdargs( graph, plugin, plugin_instance, dtype )
+
+       return {
+               data = { 
+                       options = {
+                               ipt_bytes = { total = true }
+                       }
+               }
+       }
+end
index 270e06fe6cb1a41e7e0f410708fcb4e32150880b..67048c29278fc5ac584de28058d14bf6acc97d56 100644 (file)
@@ -9,7 +9,7 @@ You may obtain a copy of the License at
 
         http://www.apache.org/licenses/LICENSE-2.0
 
-$Id: stat-genconfig 2272 2008-06-03 22:42:01Z nbd $
+$Id$
 
 ]]--
 
index f2ca2c68a9c5a01818cd0f3a8101040827750749..dacba13120168a8a743d159a6e4f68c1fccc5799 100644 (file)
@@ -9,7 +9,7 @@ You may obtain a copy of the License at
 
         http://www.apache.org/licenses/LICENSE-2.0
 
-$Id: stat-genconfig 2272 2008-06-03 22:42:01Z nbd $
+$Id$
 
 ]]--