summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-12-21 00:31:48 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-12-21 00:31:48 +0000
commit40d971530874ff4869c219e482778414fb64bd70 (patch)
tree9a00b7bedf19f8aeb9fc37cfe50107b9a10470f8 /etc/inc/config.inc
parent1e2793215beb91e3a7f5e09b76fa09b56dcb9d6f (diff)
downloadpfsense-40d971530874ff4869c219e482778414fb64bd70.zip
pfsense-40d971530874ff4869c219e482778414fb64bd70.tar.gz
Make sure to reset array before beginning migration. otherwise the arrays get added to each other.
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 37eef3e..01f5e1b 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -2082,6 +2082,7 @@ endif;
/* build a list of quality databases */
/* roundtrip has become delay */
/* the roundtrip times need to be divided by 1000 to get seconds, really */
+ $databases = array();
exec("cd $rrddbpath;/usr/bin/find *-quality.rrd", $databases);
rsort($databases);
print_r($databases);
@@ -2094,6 +2095,7 @@ endif;
setup_gateways_monitor();
/* build a list of traffic and packets databases */
+ $databases = array();
exec("cd $rrddbpath;/usr/bin/find *-traffic.rrd *-packets.rrd", $databases);
print_r($databases);
rsort($databases);
OpenPOWER on IntegriCloud