diff options
author | heper <heper@users.noreply.github.com> | 2015-11-08 18:42:29 +0100 |
---|---|---|
committer | heper <heper@users.noreply.github.com> | 2015-11-08 18:42:29 +0100 |
commit | 6faa02f9f24e92568aa97c5c1c316a1c06fdadfb (patch) | |
tree | e45be9ed38e1923993f55a20bfcd1d79f0bc106c /src/usr/local/www/status_rrd_graph.php | |
parent | 0bd8c142bf1848c0d9c62da0bb28c5533b293cbe (diff) | |
download | pfsense-6faa02f9f24e92568aa97c5c1c316a1c06fdadfb.zip pfsense-6faa02f9f24e92568aa97c5c1c316a1c06fdadfb.tar.gz |
add dhcpd to switch($curcat)
Diffstat (limited to 'src/usr/local/www/status_rrd_graph.php')
-rw-r--r-- | src/usr/local/www/status_rrd_graph.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/local/www/status_rrd_graph.php b/src/usr/local/www/status_rrd_graph.php index 615317e..0691032 100644 --- a/src/usr/local/www/status_rrd_graph.php +++ b/src/usr/local/www/status_rrd_graph.php @@ -171,6 +171,15 @@ if ($_POST['option']) { continue 2; } } + case "dhcpd": + foreach ($databases as $database) { + if (preg_match("/[-]dhcpd\.rrd/i", $database)) { + /* pick off the 1st database we find that matches the dhcpd graph */ + $name = explode("-", $database); + $curoption = "$name[0]"; + continue 2; + } + } case "captiveportal": $curoption = "allgraphs"; break; |