From 95fcea5781f9c256a3adcae132353d85d6d05258 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Mar 2010 12:10:40 -0500 Subject: Cleanup --- config/openospfd/status_ospfd.php | 73 +++++++++++++++++++++++++-------------- 1 file changed, 48 insertions(+), 25 deletions(-) (limited to 'config/openospfd') diff --git a/config/openospfd/status_ospfd.php b/config/openospfd/status_ospfd.php index d2c1e1a4..51578f13 100644 --- a/config/openospfd/status_ospfd.php +++ b/config/openospfd/status_ospfd.php @@ -27,39 +27,62 @@ POSSIBILITY OF SUCH DAMAGE. */ +require("guiconfig.inc"); -echo "

Basic OSPFd statistics


"; +$pgtitle = "OpenOSPFD: Status"; +include("head.inc"); -echo "

OSPF Summary

"; -echo '
';
-
-$summary = system('/usr/local/sbin/ospfctl show summary', $summary);
-
-echo "

OSPF Neighbors

"; -echo '
';
-
-$neighbor = system('/usr/local/sbin/ospfctl show neighbor', $neighbor);
-
-echo "

FIB

"; -echo '
';
-
-$rib = system('/usr/local/sbin/ospfctl show fib', $rib);
+?>
 
-echo "

RIB

"; -echo '
';
+
+
+

+ -$fib = system('/usr/local/sbin/ospfctl show rib', $fib); +
+ + +
+ + + + + +
+
+
+
-echo "

OSPF Interfaces

"; -echo '
';
+ OSPF Database ";
-echo '
';
+?>
 
-$database = system('/usr/local/sbin/ospfctl show database', $database);
+		
+ + + +
+
+ + + +
-?> + + + \ No newline at end of file -- cgit v1.2.3