Revision 6faa02f9
Added by jeroen van breedam almost 10 years ago
src/usr/local/www/status_rrd_graph.php | ||
---|---|---|
171 | 171 |
continue 2; |
172 | 172 |
} |
173 | 173 |
} |
174 |
case "dhcpd": |
|
175 |
foreach ($databases as $database) { |
|
176 |
if (preg_match("/[-]dhcpd\.rrd/i", $database)) { |
|
177 |
/* pick off the 1st database we find that matches the dhcpd graph */ |
|
178 |
$name = explode("-", $database); |
|
179 |
$curoption = "$name[0]"; |
|
180 |
continue 2; |
|
181 |
} |
|
182 |
} |
|
174 | 183 |
case "captiveportal": |
175 | 184 |
$curoption = "allgraphs"; |
176 | 185 |
break; |
Also available in: Unified diff
add dhcpd to switch($curcat)