summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-02-22 23:26:49 +0100
committerJo-Philipp Wich <jo@mein.io>2020-02-22 23:26:49 +0100
commitd4a475163e0fd87f5ade7a46b075a119178ae24a (patch)
tree09f2e6196e7b92fb81190efaa76e8329165e4f43 /applications/luci-app-statistics/root
parentd527c28ffa973e04f1ed3eac9f4a7504404b4fcd (diff)
luci-app-statistics: clean and fix plugin configurations
- Remove redundant form flags - Fix various default values - Add some new collect options and remove options that do not exist anymore Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/root')
-rwxr-xr-xapplications/luci-app-statistics/root/usr/bin/stat-genconfig8
1 files changed, 5 insertions, 3 deletions
diff --git a/applications/luci-app-statistics/root/usr/bin/stat-genconfig b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
index 152e584da4..b03b547d48 100755
--- a/applications/luci-app-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
@@ -183,9 +183,11 @@ function config_network( c )
end
end
- return str .. _string( c["TimeToLive"], "TimeToLive" )
- .. _string( c["CacheFlush"], "CacheFlush" )
- .. _bool( c["Forward"], "Forward" )
+ return str ..
+ _string(c["MaxPacketSize"], "MaxPacketSize") ..
+ _string(c["TimeToLive"], "TimeToLive") ..
+ _bool(c["Forward"], "Forward") ..
+ _bool(c["ReportStats"], "ReportStats")
end