From 43a0ac8a29c50aca48d8889fbf29f52d144a9907 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Nov 2010 15:31:52 -0400 Subject: Make sure ipsec is incuded in valid interfaces --- usr/local/www/status_graph.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index 1cbe6b0..2ec071f 100755 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -55,8 +55,9 @@ else $height = "200"; // Get configured interface list -$ifdescrs = get_configured_interface_with_descr(); - +$ifdescrs = get_configured_interface_with_descr(true); +$ifdescrs[] = array("enc0", "IPSEC"); + if ($_GET['if']) { $curif = $_GET['if']; $found = false; -- cgit v1.1