aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/iptables.json
diff options
context:
space:
mode:
authorPeter Wu2014-07-31 10:23:27 +0200
committerPim van den Berg2014-11-14 00:09:42 +0100
commitd0557f227a2cffdd83ffe749c575c5a738b7dbd6 (patch)
tree1048ec8ddc14a2c0f04b1cf690fb5bd01b03fc7f /plugin/iptables.json
parentmake detail page accessible when using "canvas" graph_type (diff)
downloadapt-panopticon_cgp-d0557f227a2cffdd83ffe749c575c5a738b7dbd6.zip
apt-panopticon_cgp-d0557f227a2cffdd83ffe749c575c5a738b7dbd6.tar.gz
apt-panopticon_cgp-d0557f227a2cffdd83ffe749c575c5a738b7dbd6.tar.bz2
apt-panopticon_cgp-d0557f227a2cffdd83ffe749c575c5a738b7dbd6.tar.xz
jsrrdgraph: Fix undefined value issue in RrdDataFile
`RRDRRAInfo.pdp_cnt` does not exist. A reference to the pdp_cnt member in a struct exists, this is available via the `getPdpPerRow()` method, so use that. (actually, `getMinStep() * getPdpPerRow()` can be simplified further, see below). While at it, replace the combination `RRDRRAInfo.getPdpPerRow() * RRAInfo.pdp_step` by `RRDRRAInfo.getStep()` since this is the same thing. As `RRDHeader.pdp_step` is copied into `RRDRRAInfo`, this can also be substituted.
Diffstat (limited to 'plugin/iptables.json')
0 files changed, 0 insertions, 0 deletions