Fix the newly added ipstatistics plugin
* add config definition
* add configSummary
* remove unnecessary option config form
(no plugin-specific options)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
title: _('IP-Statistics Plugin Configuration'),
description: _('The ipstatistics plugin collects IPv4 and IPv6 statistics to compare them.'),
- addFormOptions: function(s) {
- var o;
-
- o = s.option(form.Flag, 'enable', _('Enable this plugin'));
- o.default = '0';
+ configSummary: function(section) {
+ return _('IPv4/IPv6 Statistics monitoring enabled');
}
});
{
"title": "IP-Statistics",
- "category": "network"
+ "category": "network",
+ "legend": [
+ [],
+ [],
+ []
+ ]
}