summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/status_graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index 2ec071f..c674cbc 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -55,8 +55,8 @@ else
$height = "200";
// Get configured interface list
-$ifdescrs = get_configured_interface_with_descr(true);
-$ifdescrs[] = array("enc0", "IPSEC");
+$ifdescrs = get_configured_interface_with_descr();
+$ifdescrs["enc0"] = "IPSEC";
if ($_GET['if']) {
$curif = $_GET['if'];
OpenPOWER on IntegriCloud